Fuzzyman wrote:
ust = 'æøå'.decode('utf-8')
Which is now deprecated isn't it ? (including encoded string literals
in source without declaring an encoiding).
Not having an encoding declaration while having non-ASCII characters
in source code is deprecated.
Having non-ASCII characters in string literals is not deprecated
(assuming there is an encoding declaration in the source); trusting
then that the string literals are utf-8-encoded (and decoding
them such) is fine.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list