aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-04-05 19:03:27 +0200
committerTuncer Ayaz <[email protected]>2011-04-27 17:39:40 +0200
commit5043e8ffcf134575badf3cb65431bc025f3db3bf (patch)
tree5bf1842f2c4bfe0494d669b6415943e17c3f5b90 /lib/stdlib/doc/src
parent4dd5d2a84e62ee53ead077c0075b3338a827280b (diff)
downloadotp-5043e8ffcf134575badf3cb65431bc025f3db3bf.tar.gz
otp-5043e8ffcf134575badf3cb65431bc025f3db3bf.tar.bz2
otp-5043e8ffcf134575badf3cb65431bc025f3db3bf.zip
unicode: document 16#FFFE and 16#FFFF (non chars)
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r--lib/stdlib/doc/src/unicode.xml14
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