Message127055
This is for Python 2.7.1. It isn't an issue on 2.6.5 and I haven't tested it on 3.1.
Quite simply, the Unicode BOM (unichr(65279)) is included in the text loaded from a UTF-8 text file. This can cause issues in some cases, but is easily worked around by calling "s.strip(unichr(65279))" on the first line of loaded text. |
|
Date |
User |
Action |
Args |
2011-01-25 21:25:59 | onpon4 | set | recipients:
+ onpon4 |
2011-01-25 21:25:59 | onpon4 | set | messageid: <1295990759.68.0.350940217236.issue11010@psf.upfronthosting.co.za> |
2011-01-25 21:25:59 | onpon4 | link | issue11010 messages |
2011-01-25 21:25:59 | onpon4 | create | |
|