From: Georg Brandl Date: Tue, 29 Oct 2013 07:16:56 +0000 (+0100) Subject: Clarify sentence. X-Git-Tag: v3.4.0b1~485^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d596fa90b3c862eb2c0fb67aaf42cf1237c3258;p=python Clarify sentence. --- diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst index 2920aa11cb..9d48a787e8 100644 --- a/Doc/howto/unicode.rst +++ b/Doc/howto/unicode.rst @@ -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 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. One problem is the multi-byte nature of encodings; one Unicode character can be