From 5043e8ffcf134575badf3cb65431bc025f3db3bf Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 5 Apr 2011 19:03:27 +0200 Subject: unicode: document 16#FFFE and 16#FFFF (non chars) --- lib/stdlib/doc/src/unicode.xml | 14 ++++++++++---- 1 file 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()] Integers out of range - If InEncoding is latin1, an error occurs whenever an integer greater than 255 is found in the lists. If InEncoding is - of a Unicode type, error occurs whenever an integer greater than - 16#10FFFF (the maximum unicode character) or in the - range 16#D800 to 16#DFFF (invalid unicode - range) is found. + of a Unicode type, an error occurs whenever an integer + + greater than 16#10FFFF + (the maximum unicode character), + in the range 16#D800 to 16#DFFF + (invalid unicode range) + or equal to 16#FFFE or 16#FFFF (non characters) + + is found. + UTF encoding incorrect - If InEncoding is one of the UTF types, the bytes in any binaries have to be valid -- cgit v1.2.3