development/chapter06/glibc

rae l crquan at gmail.com
Mon Nov 17 21:29:26 PST 2008


On Tue, Nov 18, 2008 at 12:20 PM, Trent Shea <trent.shea at gmail.com> wrote:
> It looks like a typo, the command should probably be:
> localedef -i zh_CN -f GB18030 zh_CN.GB18030
>
> I've posted a ticket as well #2279

http://www.linuxfromscratch.org/lfs/view/development/chapter06/glibc.html

It's really a typo. I'm a Chinese and I know Chinese GB18030 codeset
and I verified

  localedef -i zh_CN -f GB18030 zh_CN.GB18030

that worked well.

At the same time, I sugguest to add zh_CN.UTF-8 support, too,

  localedef -i zh_CN -f UTF-8 zh_CN.UTF-8

Just because zh_CN.UTF-8 is more and more popular than Chinese GB
series (GB2312, GBK, GB18030), it's more smooth to swith from
zh_CN.UTF-8 to zh_TW.UTF-8, zh_HK.UTF-8, zh_SG.UTF-8, and vice vesa.

Thanks.

-- 
Cheng Renquan, Shenzhen, China
George Burns  - "At my age flowers scare me."



More information about the lfs-dev mailing list