diff options
author | R David Murray <rdmurray@bitdance.com> | 2016-08-24 00:43:56 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2016-08-24 00:43:56 (GMT) |
commit | 48de28290ca1f71ddaa04553997e53c8fcf7e14e (patch) | |
tree | 7115717c640214683b919cda2a0185469914cba4 /Doc/howto | |
parent | efa798d1ba08687ff68f114e905b58686dc2e5d5 (diff) | |
download | cpython-48de28290ca1f71ddaa04553997e53c8fcf7e14e.zip cpython-48de28290ca1f71ddaa04553997e53c8fcf7e14e.tar.gz cpython-48de28290ca1f71ddaa04553997e53c8fcf7e14e.tar.bz2 |
#25916: fix a few 'string of bytes' references.
Patch by SilengGhost.
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/unicode.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst index fbeb11a..a48ae1f 100644 --- a/Doc/howto/unicode.rst +++ b/Doc/howto/unicode.rst @@ -192,7 +192,7 @@ frequently used than UTF-8.) UTF-8 uses the following rules: UTF-8 has several convenient properties: 1. It can handle any Unicode code point. -2. A Unicode string is turned into a string of bytes containing no embedded zero +2. A Unicode string is turned into a sequence of bytes containing no embedded zero bytes. This avoids byte-ordering issues, and means UTF-8 strings can be processed by C functions such as ``strcpy()`` and sent through protocols that can't handle zero bytes. |