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.
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 <jserv@kaffe.org>
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.
Logged In: YES
user_id=79902
Backported the custom mapping fix. (IMO langinfo ought to
handle this, but that's outside our control.)