diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-08-16 21:55:45 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-08-16 21:55:45 (GMT) |
commit | 41980caf644163f1ff74a793b30f1c424eeede82 (patch) | |
tree | dba1c68090fce4379eced5a27a5b8d4b4f55340c /Doc/library | |
parent | 066100909ae45e7acd59b2ac81338d3cfcf44384 (diff) | |
download | cpython-41980caf644163f1ff74a793b30f1c424eeede82.zip cpython-41980caf644163f1ff74a793b30f1c424eeede82.tar.gz cpython-41980caf644163f1ff74a793b30f1c424eeede82.tar.bz2 |
Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le and
ut-32-be). On narrow builds the codecs combine surrogate pairs in the unicode
object into one codepoint on encoding and create surrogate pairs for
codepoints outside the BMP on decoding. Lone surrogates are passed through
unchanged in all cases.
Backport to the trunk will follow.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/codecs.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 38264df..7a035c2 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -1089,6 +1089,12 @@ particular, the following variants typically exist: | shift_jisx0213 | shiftjisx0213, sjisx0213, | Japanese | | | s_jisx0213 | | +-----------------+--------------------------------+--------------------------------+ +| utf_32 | U32, utf32 | all languages | ++-----------------+--------------------------------+--------------------------------+ +| utf_32_be | UTF-32BE | all languages | ++-----------------+--------------------------------+--------------------------------+ +| utf_32_le | UTF-32LE | all languages | ++-----------------+--------------------------------+--------------------------------+ | utf_16 | U16, utf16 | all languages | +-----------------+--------------------------------+--------------------------------+ | utf_16_be | UTF-16BE | all languages (BMP only) | |