Commit 582b534b59d786c40680b786c19cd87f646c4304

Jim Meyering 2000-11-09T08:30:00

(<wchar.h>): Do not include; no longer needed, since we no longer use wcrtomb. (<limits.h>): Include if HAVE_LIMITS_H. (MB_LEN_MAX): Define if limits.h doesn't. (convert_unicode_char): New function, with the conversion part of the old print_unicode_char. Use wctomb, not wcrtomb. Depend on HAVE_WCTOMB, not HAVE_WCRTOMB. (print_unicode_char): Use convert_unicode_char to do the conversion.