[docs] [issue26369] unicode.decode and str.encode are unnecessarily confusing for non-ascii
Serhiy Storchaka
report at bugs.python.org
Thu May 12 08:31:44 EDT 2016
Serhiy Storchaka added the comment:
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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26369>
_______________________________________
More information about the docs
mailing list