(<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)
commit582b534b59d786c40680b786c19cd87f646c4304
tree7bedade15dda45386d40448ee2e55b12928e19aa
parentc17997b3a9b83612f55e29cd549b35f810e72cf2
(<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