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

Re: Big5 XsXd



Sorry for the late reply, and for replying in English..

¡i ¦b thhsieh. ªº¤j§@¤¤´£¨ì: ¡j
: On Sat, Jan 08, 2000 at 03:06:55PM +0000, ÃiÃiÂy¤H wrote:
: >                              ^^^^ ³o­ÓÀ³¸Ó¬O 0xfe :p
: > HKSCS ¤]¦³¥Î¨ì 0xFA - 0xFE °Ú..
: ¦hÁÂ :-))
: «Ü©êºp¡A§Ú¨S¦³«Ü¥J²Ó trace ¦U¦ì³Ìªñªº°Q½×¡A§Ú·Q½Ð°Ý´X­Ó°ÝÃD:
: 1. Debian potato ¤¤ªº zh_TW.Big5 locale ¬O±Ä¥Î Big5 ÁÙ¬O Big5+ ? 
:    ¦pªG¬O Big5 ªº¸Ü¡A¨º¥Ø«e Big5+ ¦³¨S¦³¶i¤J potato ¤¤¡H

The default Big5 locale in potato says that the range is 0xA1-0xF9 ..
that needs to be changed.

Also, there is a conversion table in gconv-modules that needs to be
modified for Big5+ as well, if we need to support Big5+.

Which creates the problem: the work I have done to support HKSCS still
uses the name "BIG5" as its encoding. That's not compatible with Big5+ ..
Therefore, I think there is a need to have a "zh_TW.Big5", "zh_TW.Big5p"
and "zh_HK.Big5-HK", as suggested below.

: 2. ²{¦¨ªº X locale ¦b¤ä´© Big5+ ¦³¨S¦³°ÝÃD¡H§Úªº·N«ä¬O¡A¥H«eµ¹
:    Big5 ¥Îªº X locale ²{¦b®M¥Î¤F Big5+, §¹¥þ¤£¥Î­×§ï¶Ü¡H

At least in XLC_LOCALE, the lines byte1, byte2, mb_conversion and 
ct_conversion needs to be changed.

: 3. ±z­Ì²{¦b¥Î¤°»ò¦r«¬¨ÓÅã¥Ü Big5+ ùØÀYªº©Ò¦³¦r¡H
: ¦Ü©ó GNU/Linux ¬O§_À³¸Ó¤ä´© Big5+ ? §Ú»{¬°¦³»Ý­n¡A¥²³º¥i¥H¤ä´©±o¶V¦h¶V
: ¦n :-)) locale ¦W©O¡H§Úı±o¥i¥H©w¦¨ zh_TW.Big5p, ¤£­n»P zh_TW.Big5 ¤@
: ¼Ë¡A¦]¬°¥²³º encoding ¤w¤£»P­ì¨Óªº¤@¼Ë¤F¡C¦Ó¥B§Ú¾á¤ß¨Ï¥Î zh_TW.Big5+
: ³o¼Ëªº¦W¤l¡A³o­Ó "+" ¦b locale ¦W¤¤¬O§_¬°¦Xªk¦r¤¸¡H¥H¤Î¡A zh_TW.Big5plus
: ¤SÅã±o¤Óªø¤F¡A©Ò¥H§Ú«Øij¥Î³o­Ó¦W¦r¡C

Agreed.

[snip]
: ¦]¦¹¡A¦b¦¹§Ú¦³¤@­Ó«Øij¡A¦]¬° Big5 »P Big5+ ¯uªº¤£¤@¼Ë¡A©Ò¥H¦WºÙÁÙ¬O­n
: °Ï¤À¤@¤U¡C

Agreed; and there is a need to do this, as mentioned above.

: ¦pªG zh_HK locale ¯uªº±Ä¥Î Big5+ ªº¸Ü¡A«h§Ú§Æ±æ¨ä locale
: ¦W³Ì¦n©w¦¨ zh_HK.Big5p or some thing like that. ÁÙ¦³¤@­Ó°ÝÃD¬O¡A¦pªG
: zh_HK ¥Îªº¬O modify ¹Lªº Big5+, «hÀ³¸Ó¦Ò¼{±N¥¦ªº¦W¦r¥t¥~©w¡A¥H»P¡u¥¿
: ©v¡vªº Big5+ ¦³§O¡C¦ý¬O¡A¦pªG¦¹ modify ¹Lªº Big5+ ¹ê»Ú¤W¥i¥H»P Big5+
: ¬Û®e¡A¥B¥]§t§ó¼s¡A«h§Ú­Ì¬°¦ó¤£ª½±µ¨Ï¥Î¦¹ modify ªºª©¥»´N¦n¡H¤£¥²¦A¥Î
: ¡u¥¿©v¡vªº Big5+ ¤F¡C§Úªº·N«ä¬O¡A§Ú­Ì¥i¥H¶X²{¦b Big5+ ¼Ð·Ç¦b¦Û¥Ñ³nÅé
: ¥@¬É¤¤¥¼½T¥ß¤§«e¡A¥ý«Ø¥ß§Ú­Ì³oÃ䪺¼Ð·Ç¡AµM«á¨ä¥L distribution ¥i¥H¶i
: ¦Ó¥é®Ä¡A¹L¤@°}¤l«á¦¹¤@¡u¤£¦¨¤å¡vªº¼Ð·Ç´N¥i¥H½T¥ß¤F¡C

err .. but I'm not sure about the difference between Big5+ and HKSCS ..

: > zh_HK.Big5-HKSCS? ¦ü¥G¬Oªø¤F¤@ÂI, ¤£¹L glibc ªº iconv modules ¬O¥H½s½Xªº¦W
: > ºÙ (§Y locale ¦WºÙÂI¸¹¤§«áªº³¡¥÷) ¨Ó°Ï§O¤£¦Pªº modules, ©Ò¥H¥i¯à¦³»Ý­n¥s°µ
: > Big5-HKSCS.
: ³oùاګØij¡A zh_TW.Big5p »P zh_HK.Big5.... ¥i¥H°®¯Ü´N¥Î¦P¤@­Ó encoding,
: ´N¦p§Ú«e­±©Ò»¡¡A´N«á´N©w¦¹ encoding ¦WºÙ¬° Big5p, ¥i¥H¬Ù¤£¤Ö³Â·Ð¡C¦ý¦]
: ¬°§Ú¤£¾å±o Big5-HKSCS »P Big5+ ¥»½è¤W®t¦b¨ºùØ¡A¦]¦¹¤£½T©w³o¼Ë©w¬O§_¾A·í¡A
: ¬G¯Â«Øij¡A½Ð¤j®a°Q½× :-))

There is an HKSCS mapping table available at
http://www.digital21.gov.hk/chi/hkscs/

I have used it to build the HKSCS gconv module.

I couldn't find any Big5+ tables online though. :o
--
¡° ¨Ó·½ ¡À e-Fever BBS ¢I bbs.e-fever.org ¡À [From: bbs.e-fever.dhs.org]


Reply to: