Message93475
The following is a minimal example which does not work under Python
3.1.1 but functions as expected on Pyhton 2.6 and 3.0.
Python 3.1.1 believes the single UTF-8 glyph is two entirely different
(and illegal) unicode characters:
Traceback (most recent call last):
File "t.py", line 2, in <module>
print('𐑛')
UnicodeEncodeError: 'utf-8' codec can't encode character '\ud801' in
position 0: surrogates not allowed
Test system is Ubuntu 9.10-beta 32-bit |
|
| Date |
User |
Action |
Args |
| 2009-10-03 03:46:54 | ArcRiley | set | recipients:
+ ArcRiley |
| 2009-10-03 03:46:53 | ArcRiley | set | messageid: <[email protected]> |
| 2009-10-03 03:46:46 | ArcRiley | link | issue7045 messages |
| 2009-10-03 03:46:45 | ArcRiley | create | |
|