eurleif at ecritters.biz
Sat Mar 10 15:36:33 CET 2007
Laurent Pointal wrote:
> You should prefer to put
> # -*- coding: utf-8 -*-
> at the begining of your sources files. With that you are ok with all Python
> installations, whatever be the defautl encoding.
> Hope this will become mandatory in a future Python version.
The default encoding specifies how Unicode strings are implicitly
converted into byte strings. The code you gave specifies how Unicode
string literals in a file are encoded, which is something completely
More information about the Python-list