[Python-Dev] Unicode

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu, 18 May 2000 00:55:21 +0200

>   You seem to be familiar with the Tcl work, so I'll ask you
> this question:  Does Tcl have a way to specify source encoding?
> I'm not aware of it, but I've only had time to follow the Tcl
> world very lightly these past few years.  ;)

To my knowledge, no. Tcl (at least 8.3) supports the \u notation for
Unicode escapes, and treats all other source code as
Latin-1. encoding(n) says

# However, because the source command always reads files using the
# ISO8859-1 encoding, Tcl will treat each byte in the file as a
# separate character that maps to the 00 page in Unicode.