Message93513
| Author |
ArcRiley |
| Recipients |
ArcRiley, amaury.forgeotdarc, ezio.melotti, loewis |
| Date |
2009εΉ΄10ζ03ζ₯.23:04:01 |
| SpamBayes Score |
2.2373414e-09 |
| Marked as misclassified |
No |
| Message-id |
<1254611044.42.0.753938429452.issue7045@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Amaury, you are absolutely correct, \ud801 is not a valid unicode glyph,
however I am not giving Python \ud801, I am giving Python 'π' (==
'\U00010451').
I am attaching a different short example that demonstrates that Python
is mishandling UTF-8 on both the interactive terminal and in scripts, u.py
The output should be the same, but on Python 3.1.1 compiled for wide
unicode it reports two different values. As someone on #python-dev
found 'π'.encode('utf-16').decode('utf-16') outputs the correct value. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009εΉ΄10ζ03ζ₯ 23:04:04 | ArcRiley | set | recipients:
+ ArcRiley, loewis, amaury.forgeotdarc, ezio.melotti |
| 2009εΉ΄10ζ03ζ₯ 23:04:04 | ArcRiley | set | messageid: <1254611044.42.0.753938429452.issue7045@psf.upfronthosting.co.za> |
| 2009εΉ΄10ζ03ζ₯ 23:04:02 | ArcRiley | link | issue7045 messages |
| 2009εΉ΄10ζ03ζ₯ 23:04:02 | ArcRiley | create |
|