[docs] [issue36789] Unicode HOWTO incorrectly states that UTF-8 contains no zero bytes

Serhiy Storchaka report at bugs.python.org
Sun May 5 01:54:52 EDT 2019

Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I agree that the documentation should be updated. Do you mind to create a pull request mbiggs?

There are UTF-8 variants which guarantee that the encoded text has no zero bytes (see Modified UTF-8), but Python only provides the standard UTF-8 and UTF-8 with BOM.

keywords: +easy
nosy: +serhiy.storchaka
stage:  -> needs patch
versions:  -Python 3.5, Python 3.6

Python tracker <report at bugs.python.org>

More information about the docs mailing list