Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-01-06
05:15 • Closed ticket [1084595fff]: locale gbk plus 7 other changes artifact: f47c2732e9 user: dkf
2005-01-05
22:14
Add more locale mapping info for Chinese. [1084595] check-in: da29515179 user: dkf tags: core-8-4-branch
2004-12-14
02:21 • Ticket [1084595fff] locale gbk status still Open with 6 other changes artifact: d09cc57fdb user: dgp
2004-12-13
19:06 • New ticket [1084595fff]. artifact: 5795ef0f0a user: nobody

locale gbk

Closed / Fixed1084595fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-12-13 19:06:40
Gentoo Linux, gcc3.3.4, Kernel 2.6.9

When I set LANG=zh_CN.GBK, tcl recognized this locale,
but fconfigure $xxx -encoding still returned iso8859-1

After a symbolic link from
/usr/lib/tcl8.4/encoding/euc-cn.enc to gbk.enc was
made, the problem became solved.
dgpplain2004-12-14 02:21:08
Logged In: YES 
user_id=80530


2004-06-18, dkf added several
Chinese locales to the 
localeTable recognized during
startup.  ChangeLog says they
came from Jim Huang <[email protected]>

Don't know whether there's a
corresponding item in the tracker.

Anyhow, those locales
are recognized by Tcl 8.5a2, but
it appears they were never backported
to any 8.4 patch release.
dkfplain2005-01-06 05:15:57
Logged In: YES 
user_id=79902

Backported the custom mapping fix. (IMO langinfo ought to
handle this, but that's outside our control.)
Log in (anonymous is fine) to add a comment.