[Python-Dev] Unicode

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Tue, 23 May 2000 18:26:43 +0200


Martin v. Loewis wrote:
> 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.

as far as I can tell from digging through the sources, the "source"
command uses the system encoding.  and from the look of it, it's
not always iso-latin-1...

</F>