Message153499
Attached alternative patch with a different approach: on input, strings are encoded as bytes and the rest of the code proceeds as before.
All existing tests for bytes now test for strings as well and there is a new test for strings with non ASCII characters.
Berker's patch was more intrusive and forgot to allow strings in _translate, leading to failures if altchars or map01 were used. |
|
| Date |
User |
Action |
Args |
| 2012-02-16 20:45:59 | catalin.iacob | set | recipients:
+ catalin.iacob, pitrou, eric.araujo, petri.lehtinen, Anthony.Kong, berker.peksag |
| 2012-02-16 20:45:58 | catalin.iacob | set | messageid: <[email protected]> |
| 2012-02-16 20:45:57 | catalin.iacob | link | issue13641 messages |
| 2012-02-16 20:45:57 | catalin.iacob | create | |
|