From 2f9ee8fc90c6cfbc6c2540a8cb7ce00e143cd0b9 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 6 Apr 2009 10:50:11 +0000 Subject: * strfuncs.cc: Add comment to explain why we can't support JIS for now. (__db_wctomb): Alwaus use WC_NO_BEST_FIT_CHARS. (__jis_wctomb): Just call __ascii_wctomb from here. (__eucjp_wctomb): Convert to standalone implementation to fix up the difference between eucJP and CP 20932 affecting JIS-X-0212 characters. Explain. (__kr_wctomb): Use codepage 949. (__db_mbtowc): Reorder code slightly. Always use MB_ERR_INVALID_CHARS in call to MultiByteToWideChar. Fix a problem with singlebyte sequences. Fix a bug in '\0' handling. Reset state->__count on successful return from non-zero state. (__jis_mbtowc): Just call __ascii_mbtowc from here. (__eucjp_mbtowc): Convert to standalone implementation to fix up the difference between eucJP and CP 20932 affecting JIS-X-0212 characters. (__kr_mbtowc): Use codepage 949. (__set_charset_from_codepage): Handle codepage 20932 as eucJP. --- winsup/cygwin/ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'winsup/cygwin/ChangeLog') diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 02e063b7d..39d2396c5 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,23 @@ +2009-04-06 Corinna Vinschen + + * strfuncs.cc: Add comment to explain why we can't support JIS + for now. + (__db_wctomb): Alwaus use WC_NO_BEST_FIT_CHARS. + (__jis_wctomb): Just call __ascii_wctomb from here. + (__eucjp_wctomb): Convert to standalone implementation to fix up the + difference between eucJP and CP 20932 affecting JIS-X-0212 characters. + Explain. + (__kr_wctomb): Use codepage 949. + (__db_mbtowc): Reorder code slightly. Always use MB_ERR_INVALID_CHARS + in call to MultiByteToWideChar. Fix a problem with singlebyte + sequences. Fix a bug in '\0' handling. Reset state->__count on + successful return from non-zero state. + (__jis_mbtowc): Just call __ascii_mbtowc from here. + (__eucjp_mbtowc): Convert to standalone implementation to fix up the + difference between eucJP and CP 20932 affecting JIS-X-0212 characters. + (__kr_mbtowc): Use codepage 949. + (__set_charset_from_codepage): Handle codepage 20932 as eucJP. + 2009-04-05 Christopher Faylor * Makefile.in: Use all compile options when calculating magic values. -- cgit v1.2.3