summaryrefslogtreecommitdiff
path: root/lib/unicodeio.c
AgeCommit message (Collapse)Author
2001-01-21(print_unicode_char): Cast the second iconv() arg,Jim Meyering
to avoid a warning. Add back 'const' to inptr.
2001-01-03(print_unicode_char): Remove `const' from declaration ofJim Meyering
local `inptr' to avoid warning with some system declarations of iconv.
2000-11-11Back out Paul's changes while we wait for him and Bruno to reach agreement.Jim Meyering
2000-11-10(ENOTSUP): Define to EINVAL if not defined.Jim Meyering
2000-11-10don't back them outJim Meyering
2000-11-10Back out the last two changes, at least for now.Jim Meyering
2000-11-09(MB_LEN_MAX): Make sure it's at least 6, to avoid buggy C libraries.Jim Meyering
2000-11-09(<wchar.h>): Do not include; no longer needed, since we no longer use wcrtomb.Jim Meyering
(<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.
2000-11-08Include wchar.h.Jim Meyering
(wcrtomb): Provide fallback definition for broken platforms. (print_unicode_char): New alternative definition for platforms where wchar_t is Unicode.
2000-06-25(print_unicode_char): Work around ansi2knr deficiency.Jim Meyering
2000-04-07(print_unicode_char): Avoid triggering Solaris iconv bug.Jim Meyering
Deal with the different error behaviour of Irix iconv.
2000-03-17(<string.h>): Include only #if HAVE_STRING_H.Jim Meyering
Otherwise, include <strings.h>
2000-03-17(utf8_wctomb): New function.Jim Meyering
(print_unicode_char): Pass the Unicode character to iconv in UTF-8 format instead of in UCS-4 with platform dependent endianness.
2000-03-04(<errno.h>): Include it.Jim Meyering
(errno): Declare if not defined.
2000-03-01New file from Bruno.Jim Meyering
One portability tweak: guard inclusion of stddef.h.