[Python-Dev] PEP 263 -- Python Source Code Encoding

Jack Jansen Jack.Jansen@oratrix.com
Wed, 27 Feb 2002 10:38:28 +0100


On Wednesday, February 27, 2002, at 10:16 , M.-A. Lemburg wrote:
> In phase 1, the tokenizer checks the *complete file* for
> non-ASCII characters and outputs single warning
> per file if it doesn't find a coding declaration at
> the top. Unicode literals continue to use [raw-]unicode-escape
> as codec.
>
> In phase 2, we enforce ASCII as default encoding, i.e.
> the warning will turn into an error. The [raw-]unicode-escape
> codec will be extended to also support converting Unicode
> to Unicode, that is, only handle escape sequences in this
> case.

+1
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -