Skip to content

Commit 3d596fa

Browse files
committed
Clarify sentence.
1 parent 21527bf commit 3d596fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/unicode.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ columns and can return Unicode values from an SQL query.
514514

515515
Unicode data is usually converted to a particular encoding before it gets
516516
written to disk or sent over a socket. It's possible to do all the work
517-
yourself: open a file, read an 8-bit bytes object from it, and convert the string
517+
yourself: open a file, read an 8-bit bytes object from it, and convert the bytes
518518
with ``bytes.decode(encoding)``. However, the manual approach is not recommended.
519519

520520
One problem is the multi-byte nature of encodings; one Unicode character can be

0 commit comments

Comments
 (0)