Message265399
If str.encode() raises a decoding exception, this is a programming bug. It would be bad to hide it.
FYI, the default encoding is not hardcoded 'ascii'. Google "Changing default encoding in Python". Maybe this will help in your program. |
|
Date |
User |
Action |
Args |
2016-05-12 12:31:44 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, ezio.melotti, steven.daprano, docs@python, benspiller |
2016-05-12 12:31:43 | serhiy.storchaka | set | messageid: <1463056303.99.0.690781462111.issue26369@psf.upfronthosting.co.za> |
2016-05-12 12:31:43 | serhiy.storchaka | link | issue26369 messages |
2016-05-12 12:31:43 | serhiy.storchaka | create | |
|