Message189668
No, that is the intended behavior for binary streams - they operate at
the level of individual byes. If you want to treat your input file as
Unicode-encoded text, you should open it in text mode. This will return a
TextIOWrapper which handles the decoding and line splitting properly. |
|
Date |
User |
Action |
Args |
2013-05-20 14:42:43 | nadeem.vawda | set | recipients:
+ nadeem.vawda, rhettinger, pitrou, vstinner, Arfrever, serhiy.storchaka, Michael.Fox |
2013-05-20 14:42:43 | nadeem.vawda | set | messageid: <1369060963.08.0.432691945326.issue18003@psf.upfronthosting.co.za> |
2013-05-20 14:42:43 | nadeem.vawda | link | issue18003 messages |
2013-05-20 14:42:42 | nadeem.vawda | create | |
|