Menu

#3013 locale gbk

obsolete: 8.4.6
closed-fixed
5
2005-01-05
2004-12-13
Anonymous
No

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.

Discussion

  • Don Porter

    Don Porter - 2004-12-13
    • labels: 105653 --> 38. Init - Library - Autoload
    • assigned_to: hobbs --> dkf
     
  • Don Porter

    Don Porter - 2004-12-13

    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.

     
  • Donal K. Fellows

    • status: open --> closed-fixed
     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    Backported the custom mapping fix. (IMO langinfo ought to
    handle this, but that's outside our control.)

     
MongoDB Logo MongoDB