OSDN Git Service

* libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
authorcorinna <corinna>
Sun, 27 Sep 2009 12:21:15 +0000 (12:21 +0000)
committercorinna <corinna>
Sun, 27 Sep 2009 12:21:15 +0000 (12:21 +0000)
commit59561a36b7977a32876c37c14f270f32df0753eb
treeefb29ca15332c56df0401f611eb3b89d17d7bcd1
parent5e8e1d3c193fcc1ef61186e0fc12fd7055e43e3a
* libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
(lc_message_charset): Ditto.
(loadlocale): Set charset of the "C" locale to "UTF-8" on Cygwin.
* libc/stdlib/mbtowc_r.c (__mbtowc): Default to __utf8_mbtowc on
Cygwin.
* libc/stdlib/wctomb_r.c (__wctomb): Default to __utf8_wctomb on
Cygwin.
newlib/ChangeLog
newlib/libc/locale/locale.c
newlib/libc/stdlib/mbtowc_r.c
newlib/libc/stdlib/wctomb_r.c