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

Re: 关: 中文locale中C~字的排序



On Thu, Sep 14, 2000 at 12:09:35AM -0400, rigel wrote:
> On Thu, Sep 14, 2000 at 08:29:19AM +0800, Isaac Kar-Keung To wrote:
> > 
> > 但可以有一些只用作定义 collation 的 locale 吗?  (譬如说, environment 定义成 
> > LANG=zh_TW.Big5, LC_COLLATE=zh_phonetic.Big5)
> > 
> 
> As an official release, the chance of your proposal being accepted by glibc is
> next to zero. There are rules governing the name of locale. If you want to do
> it on your own system, feel free.

The accepted way to do this is to specify the collation in the modifier
part, eg. zh_TW.Big5@phonetic.  However, I believe that even with glibc
2.2, this would mean one locale per collation system.  Though of course
all LC_CTYPEs, LC_TIMEs etc. can be symbolically linked to one set of
files... (or maybe locale-wide information in zh_TW.Big5, and only 
collation data in zh_TW.Big5@phoenetic, zh_TW.Big5@radical, whatever.
I haven't read glibc's source yet.)

That's just FYI.  I'm neutral on whether we should do this or not.

-- 
  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: