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

Re: 能不能给 libc6 2.1.95加上gb2312和 big5 locale?



On Mon, Oct 16, 2000 at 08:28:36AM +0800, thhsieh@linux.org.tw wrote:
> : cd /usr/lib/locale
> : ln -s zh_CN zh_CN.gb2312
> : ln -s zh_TW zh_TW.big5
> : 
> : libc6_2.1.9* 是有这些 locales 的啊, 只不过名字改了.. :(
> 
> 是这样吗?还是说重新 create 过就好了?
> 
> cd /usr/share/i18n
> localedef -i locales/zh_TW -f charmaps/BIG5 zh_TW.Big5
> cd /usr/lib/locale
> ln -s zh_TW.big5 zh_TW.Big5

你会发现 zh_TW.Big5 里的东西会同 zh_TW 的一样... :p

顺带一提, 我觉得 xcin 应该用 nl_langinfo(CODESET) 来确定系统在用的 
encoding ... 现时是用 LC_CTYPE 参数里点号之后的字串来确定, 不过这样
不太可靠的啊...

-- 
  Roger So                                            telnet://e-fever.org
  spacehunt at e-fever dot org                          SysOp, e-Fever BBS
  GnuPG  1024D/98FAA0AD  F2C3 4136 8FB1 7502 0C0C 01B1 0E59 37AC 98FA A0AD

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



Reply to: