Python 2.5 Schedule

"Martin v. Löwis" martin at
Mon Mar 20 09:31:04 CET 2006

Ben Finney wrote:
>>     - ASCII is the default coding
> Er? How did this happen?
> To be specific, what about all the movement toward UTF-8?

See PEP 263. ASCII is the default encoding for source code;
if you want to use UTF-8 in source code, either put

# -*- coding: utf-8 -*-

into the file, or start the file with the UTF-8 signature
(if your editor supports that).


More information about the Python-list mailing list