Message280914
Mappings for 0x81 and 0x8D in multiple Windows code pages diverge from what Windows does. Attached is a script that tests for this behavior. (These two bytes are not necessary the only problems, but for sure they are the most widespread and famous ones. Again, refer to Unicode best fit for something that works.)
This problem is seen in Python 2.7.10 on Windows 10b14959, but apparently it is known since long ago[1]. Python 3.4.3 on Cygwin also fails ``b'\x81\x8d'.encode('cp1252')``.
[1]: https://ftfy.readthedocs.io/en/latest/#module-ftfy.bad_codecs.sloppy |
|
Date |
User |
Action |
Args |
2016-11-16 05:40:28 | Artoria2e5 | set | recipients:
+ Artoria2e5, vstinner, ezio.melotti |
2016-11-16 05:40:28 | Artoria2e5 | set | messageid: <1479274828.26.0.726447169651.issue28712@psf.upfronthosting.co.za> |
2016-11-16 05:40:28 | Artoria2e5 | link | issue28712 messages |
2016-11-16 05:40:27 | Artoria2e5 | create | |
|