mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Merge: #25916: fix a few 'string of bytes' references.
This commit is contained in:
commit
d44500cc29
4 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue