Py 3: How to switch application to Unicode strings?

Arnaud Delobelle arnodel at googlemail.com
Wed Jan 20 08:17:27 CET 2010


Gnarlodious <gnarlodious at gmail.com> writes:

> Well, Python 3 is supposed to be all Unicode by default. I shouldn't
> even need to say
> # coding:UTF-8
>
> And, the file is saved as Unicode.
>

When a filed is saved, shouldn't it be in a specific encoding?  I don't
see how you can save your file 'as unicode'.  You should save your file
with UTF-8 encoding.

HTH

-- 
Arnaud



More information about the Python-list mailing list