mirror of
https://github.com/python/cpython.git
synced 2025-09-16 21:56:14 +00:00
Clarify sentence.
This commit is contained in:
parent
21527bf72f
commit
3d596fa90b
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ columns and can return Unicode values from an SQL query.
|
||||||
|
|
||||||
Unicode data is usually converted to a particular encoding before it gets
|
Unicode data is usually converted to a particular encoding before it gets
|
||||||
written to disk or sent over a socket. It's possible to do all the work
|
written to disk or sent over a socket. It's possible to do all the work
|
||||||
yourself: open a file, read an 8-bit bytes object from it, and convert the string
|
yourself: open a file, read an 8-bit bytes object from it, and convert the bytes
|
||||||
with ``bytes.decode(encoding)``. However, the manual approach is not recommended.
|
with ``bytes.decode(encoding)``. However, the manual approach is not recommended.
|
||||||
|
|
||||||
One problem is the multi-byte nature of encodings; one Unicode character can be
|
One problem is the multi-byte nature of encodings; one Unicode character can be
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue