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

zh_HK.Big5 locale



Hello everyone,

I have prepared a Hong Kong locale definition. It's available at:

        http://spacehunt.e-fever.dhs.org/hklocale.tar.gz

It contains 3 files, zh_HK, BIG5_HKSCS, XLC_LOCALE. To use them:

- make the directory /usr/lib/X11/locale/zh_HK.Big5, copy XLC_LOCALE into
  that directory, and edit /usr/lib/X11/locale/locale.dir accordingly.

- make sure you have i18ndata installed

- compile the locale using localdef:
        localedef -f BIG5_HKSCS -i zh_HK -u mnemonic.ds zh_HK.Big5

- try it by export LANG=zh_HK.Big5 / setenv LANG zh_HK.Big5 etc.

The main difference of this from zh_TW.Big5 (apart from NT$ -> HK$ :p),
is that the Big5 code range has been extened from 0xA040-0xF9FE to
0x8140-0xFEFE, which includes then ETen range, as well as the Hong Kong
GCCS/HKSCS range.

Note that this is not enough to be able to use HKSCS: fonts with HKSCS
characters are needed; if using xfs-xtt, xfs-xtt also needs to be patched.
Even with all that, for some reason, it still doesn't work with GTK...

However, since HKSCS itself is still a non-standard extension to Big5,
is this a right thing to do?
--
¡° ¨Ó·½ ¡À e-Fever BBS ¢I bbs.e-fever.dhs.org ¡À [From: bbs.e-fever.dhs.org]


Reply to: