[PATCH/RFA] Fix EUCJP multibyte/widechar conversion

Corinna Vinschen vinschen@redhat.com
Thu Apr 9 10:39:00 GMT 2009


On Apr  8 16:34, Jeff Johnston wrote:
> Ok.
>
> -- Jeff J.
>
> Corinna Vinschen wrote:
>> [...]
>>> 	* libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
>>> 	* libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also
>>> 	recognizes 0x8e and 0x8f lead bytes.
>>> 	(_iseucjp2): Rename from _iseucjp.
>>> 	* libc/stdlib/mbtowc_r.c (__eucjp_mbtowc): Convert JIS-X-0212
>>> 	triplebyte sequences as well.
>>> 	* libc/stdlib/wctomb_r.c (__eucjp_wctomb): Convert to JIS-X-0212
>>> 	triplebyte sequences as well.

Thanks, applied.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list