Python 2.5 Schedule

"Martin v. Löwis" martin at v.loewis.de
Mon Mar 20 03:31:04 EST 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).

Regards,
Martin



More information about the Python-list mailing list