From d6de4a147388d609066d202ff68301f1cdb24cff Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Thu, 30 Nov 2017 16:54:56 +0100 Subject: Clarification in doc of unicode:characters_to_list/2 --- lib/stdlib/doc/src/unicode.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib/stdlib/doc') diff --git a/lib/stdlib/doc/src/unicode.xml b/lib/stdlib/doc/src/unicode.xml index e86f45431f..d822aca89c 100644 --- a/lib/stdlib/doc/src/unicode.xml +++ b/lib/stdlib/doc/src/unicode.xml @@ -239,8 +239,13 @@ InEncoding.

-

Only when InEncoding is one of the UTF - encodings, integers in the list are allowed to be > 255.

+

+ Note that integers in the list always represent code points + regardless of InEncoding passed. If + InEncoding latin1 is passed, only code + points < 256 are allowed; otherwise, all valid unicode code + points are allowed. +

If InEncoding is latin1, parameter Data corresponds to the iodata() type, but for unicode, parameter Data can -- cgit v1.2.3