[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: □戒□□界□ libc6 2.1.95□□□gb2312□□big5 locale?



Hello □□箍杈□
On Mon, Oct 16, 2000 at 08:35:01AM +0800, Yu Guanghui wrote:
>      ok , link 涓□□灝卞□浠□□錛□//fool saka,澶□□□ㄥ□□□□□□□娌℃□□板□浠□□□楓□
>    □□□搴□□緇□ocales涓□釜bugreport.

You should not need to link anything, glibc 2.1.95 locales should work just
fine out of box, unless debian maintainer accidentally broke it. Did you tried
and failed, or you just didn't see the familiar zh_CN.GB2312 and zh_TW.Big5
directories? By default, glibc 2.1.95 installs 5 zh locales in /usr/lib/locale,
zh_CN (gb2312), zh_CN.gb18030, zh_HK, zh_TW (big5) and zh_TW.euctw. As you
can see the two locales are there and just got different names. Glibc is smart
enough to know that you want to use zh_CN even if you set LC_* to zh_CN.GB2312
or zh_CN.gb2312, same holds true for zh_TW.Big5 and zh_TW.big5. Actually it's a
little bit too smart and outdone itself, even you set locale to zh_CN.garbage,
it will set it to zh_CN.

If you really want to create an alias for a locale, soft link is not the
suggested way. You might want to use /usr/share/locale/locale.alias instead.

Regards,
Rigel

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: