diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-09-01 18:34:05 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-09-01 18:34:05 (GMT) |
commit | 73f83d2bc615b730c1dc8bd488fb956de49966e3 (patch) | |
tree | 64a353d6184ecd7fd1b9f291f1151e1847a18480 /Doc | |
parent | 90014e0a3cff83811757c70ddab4fc60078609c3 (diff) | |
download | cpython-73f83d2bc615b730c1dc8bd488fb956de49966e3.zip cpython-73f83d2bc615b730c1dc8bd488fb956de49966e3.tar.gz cpython-73f83d2bc615b730c1dc8bd488fb956de49966e3.tar.bz2 |
Fix typo.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/codecs.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index b44dca4..1bcd376 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -816,7 +816,7 @@ Without external information it's impossible to reliably determine which encoding was used for encoding a Unicode string. Each charmap encoding can decode any random byte sequence. However that's not possible with UTF-8, as UTF-8 byte sequences have a structure that doesn't allow arbitrary byte -sequence. To increase the reliability with which a UTF-8 encoding can be +sequences. To increase the reliability with which a UTF-8 encoding can be detected, Microsoft invented a variant of UTF-8 (that Python 2.5 calls ``"utf-8-sig"``) for its Notepad program: Before any of the Unicode characters is written to the file, a UTF-8 encoded BOM (which looks like this as a byte |