Greeting.
I was looking at the ipkg download for Tcl to the arm processor (Zaurus). One package was Tcl and another was "encoding files". What are encoding files? Bob Rashkin
rrashkin@csc.com
As of Tcl 8.1, all Tcl strings are represented internally as Unicode characters, which is an encoding of the character sets used in virtually all of the world's major languages. But there are a lot of other encodings out there, like ISO 8859-1, used by many European languages, Shift-JIS and EUC-JP for Japanese characters, and Big5 for Chinese characters.
The encoding files are used by Tcl to map from these other encodings to Unicode, and vice versa. Assuming that your Tcl installation directory is $INSTALL, the encoding files are stored in the $INSTALL/lib/tclX.X/encodings directory.
The default installations of Tcl install all of the encoding files available. However, as I'm assuming that storage space is a lot tighter on a Zaurus, I'll bet that it gives you the option of installing only the encoding files you expect to use. But that's just a guess, as I've not looked at that distribution personally.
For far too much information on encodings and other aspects of Tcl internationalization support, you can read the "How to Use Tcl 8.1 Internationalization Features" document that I wrote while at Scriptics. It's available on the Tcl Developers Xchange (
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.