This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients asvetlov, docs@python, mbiggs
Date 2019-05-04.00:06:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556928405.4.0.629187646124.issue36789@roundup.psfhosted.org>
In-reply-to
Content
This is right for 99.99% cases: utf8 doesn't encode any character except explicit zero with zero bytes.

UTF-16 for example encodes 'a' as b'\xff\xfea\x00'
History
Date User Action Args
2019-05-04 00:06:45asvetlovsetrecipients: + asvetlov, docs@python, mbiggs
2019-05-04 00:06:45asvetlovsetmessageid: <1556928405.4.0.629187646124.issue36789@roundup.psfhosted.org>
2019-05-04 00:06:45asvetlovlinkissue36789 messages
2019-05-04 00:06:45asvetlovcreate