diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-04-06 10:50:11 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-04-06 10:50:11 +0000 |
commit | 2f9ee8fc90c6cfbc6c2540a8cb7ce00e143cd0b9 (patch) | |
tree | aaaefa68f2275725206a01ed912e07677e4ca50f /winsup/cygwin/libc | |
parent | 2f1769f4311277551864327667e2a713b7daafab (diff) | |
download | cygnal-2f9ee8fc90c6cfbc6c2540a8cb7ce00e143cd0b9.tar.gz cygnal-2f9ee8fc90c6cfbc6c2540a8cb7ce00e143cd0b9.tar.bz2 cygnal-2f9ee8fc90c6cfbc6c2540a8cb7ce00e143cd0b9.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/libc')
0 files changed, 0 insertions, 0 deletions