Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.