Version 1 of encoding

Updated 2001-09-26 14:23:47

http://tcl.activestate.com/man/tcl8.4/TclCmd/encoding.htm


Examples: The Euro sign is represented in Windows cp1252 as \x80. If you get such strings in, you can see the real Euro sign with

 encoding convertfrom cp1252 \x80

Back you go with

 encoding convertto cp1252 \u20AC

Which default encoding system is used for communication with the OS (including file I/O), you can find out with

 encoding system

Which encodings are delivered with your Tcl version, you can easily see with

 encoding names

Tcl syntax help - Arts and crafts of Tcl-Tk programming Category Command