(<wchar.h>): Do not include; no longer needed, since we no longer use wcrtomb.
authorJim Meyering <jim@meyering.net>
Thu, 9 Nov 2000 08:30:00 +0000 (08:30 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 9 Nov 2000 08:30:00 +0000 (08:30 +0000)
commitbb73f9b20edb182cacffb8f926703efbfb9034ea
tree5239353ae6e26346d1fd716b4c50ee36b01c71b0
parent611fadd9e8694fdb1e1c88306160e6dfb8c9aaa5
(<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.
lib/unicodeio.c