This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Question on GB encoding in glibc-2.1.X


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]