diff options
author | Henrik Nord <[email protected]> | 2011-05-03 15:42:19 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-05-03 15:42:24 +0200 |
commit | 16e5d9e8197cde06261f1738907f38ebaafccb7d (patch) | |
tree | f5e0de1f066feff9cfa23f7c864fccbd31cdf771 /lib/stdlib/doc/src/unicode.xml | |
parent | 56b5f9e580f0ffaf13f95019bf409b55fd890d97 (diff) | |
parent | 5043e8ffcf134575badf3cb65431bc025f3db3bf (diff) | |
download | otp-16e5d9e8197cde06261f1738907f38ebaafccb7d.tar.gz otp-16e5d9e8197cde06261f1738907f38ebaafccb7d.tar.bz2 otp-16e5d9e8197cde06261f1738907f38ebaafccb7d.zip |
Merge branch 'ta/unicode-non-chars' into dev
* ta/unicode-non-chars:
unicode: document 16#FFFE and 16#FFFF (non chars)
OTP-9256
Diffstat (limited to 'lib/stdlib/doc/src/unicode.xml')
-rw-r--r-- | lib/stdlib/doc/src/unicode.xml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/stdlib/doc/src/unicode.xml b/lib/stdlib/doc/src/unicode.xml index e3a25a407b..cb1cfa8ed0 100644 --- a/lib/stdlib/doc/src/unicode.xml +++ b/lib/stdlib/doc/src/unicode.xml @@ -164,10 +164,16 @@ latin1_charlist() = [latin1_char() | latin1_binary() | latin1_charlist()] <item>Integers out of range - If <c>InEncoding</c> is <c>latin1</c>, an error occurs whenever an integer greater than 255 is found in the lists. If <c>InEncoding</c> is - of a Unicode type, error occurs whenever an integer greater than - <c>16#10FFFF</c> (the maximum unicode character) or in the - range <c>16#D800</c> to <c>16#DFFF</c> (invalid unicode - range) is found.</item> + of a Unicode type, an error occurs whenever an integer + <list type="bulleted"> + <item>greater than <c>16#10FFFF</c> + (the maximum unicode character),</item> + <item>in the range <c>16#D800</c> to <c>16#DFFF</c> + (invalid unicode range)</item> + <item>or equal to 16#FFFE or 16#FFFF (non characters)</item> + </list> + is found. + </item> <item>UTF encoding incorrect - If <c>InEncoding</c> is one of the UTF types, the bytes in any binaries have to be valid |