mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
parent
efa798d1ba
commit
48de28290c
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