Subject: Re: can I load a different charset in tcl? - DN [1]


"Richard.Suchenwirth" <richard.suchenwirth@kst.siemens.de> - 07 Jun 2000 - comp.lang.tcl

 Michael Müller wrote:

 > Can I Load a different charset in tcl, for example ISO-8854-9?
 >

 Since 8.1 Tcl uses Unicode (ISO 10646) for all strings, which is a
 superset of most known one- and two-byte character sets. You probably
 mean ISO 8859-9 Latin 5/Turkish (or 8859-4 North Europe?).

 For reading and writing files in a number of encodings, including those
 two, set the file encoding to the appropriate name (use fconfigure after
 open). [encoding names] tells you which encoding names are available.

 For displaying any Unicode characters outside the 7-bit ASCII range
 (page 00), you can explicitly specify them in the \uXXXX notation, or
 use more legible substitutes (e.g. c` for French c cedilla), which
 before displaying have to be substituted to the correct Unicode (\u00E7,
 or \uE7, for c cedilla). See "Eurolish" at
 http://purl.org/thecliff/tcl/wiki/743.html for comprehensive
 substitutions for most European languages.

 --
 Schoene Gruesse/best regards, Richard Suchenwirth - +49-7531-86 2703
 RC DT2, Siemens Electrocom, Buecklestr. 1-5, D-78467 Konstanz,Germany
 -------------- http://purl.org/thecliff/tcl/wiki//Richard*Suchenwirth
 AL:The Analytical Engine worketh not! CB:What version dost thou have?

Last modified
2000-07-20

(195.108.246.52)

Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated