Question on GB encoding in glibc-2.1.X
Tung-Han Hsieh
thhsieh@linux.org.tw
Tue May 11 18:57:00 GMT 1999
Hello,
I want to test the GB code locale on glibc-2.1.1. This GB code is
usually used in Mainland China, with the locale name zh_CN.GB2312.
I found one file named "libGB.so" in /usr/lib/gconv/ directory,
but no file like "GB2312.so" or "GB.so".
So I would like to ask that does glibc-2.1.X currently support GB
encoding? I mean, can we use wcstombs() & mbstowcs() functions to
convert GB code string successfully? If yes, how can I do that?
Thank you very much for your reply in advance.
(We have a zh_CN.GB2312 locale data for test. If any one want to
test it, you can get it from
ftp://xcin.linux.org.tw/pub/xcin/xcin/i18n/i18n_tool.tar.gz
In this tarball, the zh_CN.GB2312 subdirectory contains the appreciated
locale data.)
T.H.Hsieh
More information about the Libc-alpha
mailing list