Issue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP characters

Fix the doc and add tests.
This commit is contained in:
Victor Stinner 2010-12-08 22:25:45 +00:00
parent 84cc06288d
commit 53a9dd776e
2 changed files with 14 additions and 2 deletions

View file

@ -1114,9 +1114,9 @@ particular, the following variants typically exist:
+-----------------+--------------------------------+--------------------------------+
| utf_16 | U16, utf16 | all languages |
+-----------------+--------------------------------+--------------------------------+
| utf_16_be | UTF-16BE | all languages (BMP only) |
| utf_16_be | UTF-16BE | all languages |
+-----------------+--------------------------------+--------------------------------+
| utf_16_le | UTF-16LE | all languages (BMP only) |
| utf_16_le | UTF-16LE | all languages |
+-----------------+--------------------------------+--------------------------------+
| utf_7 | U7, unicode-1-1-utf-7 | all languages |
+-----------------+--------------------------------+--------------------------------+