Hello Branden,
Attached is two more patches that deals with XFree86 4.1.0's Chinese
locale support, courtesy of ThizLinux Laboratory Ltd. (because I worked
on these patches during company time, under the direction of ThizLinux.
:-)
A patch adds more encoding names to locale.dir esp. now that IANA uses
Big5-HKSCS as the canonical name (instead of Big5HKSCS).
Another patch fixes a missing portion in X-TT's Big5HKSCS-Unicode table.
It seems that the original patch provided by Roger So <[EMAIL PROTECTED]>
was complete, but for some reasons, upstream didn't include the F9D6-F9FE
portion. Anyhow, some commonly used characters are in that area, hence
this fix. :-)
When you have a chance, it would be great if you could apply these patches
upstream. Also, instead of acknowledging me <[EMAIL PROTECTED]>, it would be
really nice if you could acknowledge "ThizLinux Laboratory Ltd." instead.
( http://www.thizlinux.com/ ). (You may include <[EMAIL PROTECTED]>
too. ;-) It's because ThizLinux really wants to contribute back to the
Free Software / Open Source community, and I really appreciate ThizLinux
for letting me contribute patches as before. So yeah, even though these
patches are not big at all, but it is a start. :-)
(And yes, more patches from ThizLinux will find their way to Debian or other
upstream projects soon. :-)
Thanks for your help! :-)
Anthony
--
Anthony Fok Tung-Ling
ThizLinux developer <[EMAIL PROTECTED]> http://www.thizlinux.com/
Debian Chinese Project <[EMAIL PROTECTED]> http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp! http://www.olvc.ab.ca/
--- xc~/extras/X-TrueType/BIG5HKSCS/BIG5HKSCStoUCS2.c Wed Mar 7 02:54:40 2001
+++ xc/extras/X-TrueType/BIG5HKSCS/BIG5HKSCStoUCS2.c Wed Sep 5 17:27:09 2001
@@ -3091,12 +3091,12 @@
0x9E17, 0x9F48, 0x6207, 0x6B1E, 0x7227, 0x864C, 0x8EA8, 0x9482,
0x9480, 0x9481, 0x9A69, 0x9A68, 0x9B2E, 0x9E19, 0x7229, 0x864B,
0x8B9F, 0x9483, 0x9C79, 0x9EB7, 0x7675, 0x9A6B, 0x9C7A, 0x9E1D,
- 0x7069, 0x706A, 0x9EA4, 0x9F7E, 0x9F49, 0x9F98, ALTCHR, ALTCHR,
- ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR,
- ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR,
- ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR,
- ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR,
- ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR, ALTCHR,
+ 0x7069, 0x706A, 0x9EA4, 0x9F7E, 0x9F49, 0x9F98, 0x7881, 0x92B9,
+ 0x88CF, 0x58BB, 0x6052, 0x7CA7, 0x5AFA, 0x2554, 0x2566, 0x2557,
+ 0x2560, 0x256C, 0x2563, 0x255A, 0x2569, 0x255D, 0x2552, 0x2564,
+ 0x2555, 0x255E, 0x256A, 0x2561, 0x2558, 0x2567, 0x255B, 0x2553,
+ 0x2565, 0x2556, 0x255F, 0x256B, 0x2562, 0x2559, 0x2568, 0x255C,
+ 0x2551, 0x2550, 0x256D, 0x256E, 0x2570, 0x256F, 0xFFED, ALTCHR,
/* start of HKSCS area */
/* 0xFA40 - 0xFAFF */
0xE000, 0x92DB, 0xE002, 0xE003, 0x854C, 0x42B5, 0x73EF, 0x51B5,
diff -urN xc~/nls/locale.dir xc/nls/locale.dir
--- xc~/nls/locale.dir Fri Aug 31 12:30:48 2001
+++ xc/nls/locale.dir Wed Sep 5 21:49:58 2001
@@ -205,6 +205,7 @@
iso8859-15/XLC_LOCALE wa_BE.ISO8859-15
microsoft-cp1255/XLC_LOCALE yi_US.CP1255
zh_CN/XLC_LOCALE zh_CN.eucCN
+zh_CN/XLC_LOCALE zh_CN.GB2312
zh_CN.gbk/XLC_LOCALE zh_CN.gbk
zh_HK.big5/XLC_LOCALE zh_HK.big5
zh_HK.big5hkscs/XLC_LOCALE zh_HK.big5hkscs
@@ -552,7 +553,10 @@
zh_CN/XLC_LOCALE: zh_CN.eucCN
zh_CN/XLC_LOCALE: zh_CN.GB2312
zh_CN.gbk/XLC_LOCALE: zh_CN.GBK
+zh_HK.big5hkscs/XLC_LOCALE: zh_HK.big5-hkscs
+zh_HK.big5hkscs/XLC_LOCALE: zh_HK.Big5-HKSCS
zh_HK.big5hkscs/XLC_LOCALE: zh_HK.big5hkscs
+zh_HK.big5hkscs/XLC_LOCALE: zh_HK.Big5HKSCS
zh_TW.big5/XLC_LOCALE: zh_TW.big5
zh_TW.big5/XLC_LOCALE: zh_TW.Big5
zh_TW/XLC_LOCALE: zh_TW.eucTW
PGP signature