problems writing utf8
Martin v. Loewis
martin at v.loewis.de
Sat Apr 13 05:58:59 EDT 2002
Boudewijn Rempt <boud at valdyas.org> writes:
> Oh, verdraaid, I see what I did wrong. On my previous computer, which
> has melted down, I had hacked sys so my default encoding was the same
> as that in my locale -- utf-8.
>
> On my new computer, I just compiled and installed the latest Python,
> and I can only enter source in ASCII and escape sequences.
>
> Was PEP 263 implemented already? Must investigate...
No, not in any released version. Meanwhile, I recommend to stay away
from Unicode literals if you need "funny" characters, and write
unicode("<string containing funny characters>", "utf-8")
intead.
Regards,
Martin
More information about the Python-list
mailing list