diff options
author | Rickard Green <[email protected]> | 2017-11-30 16:56:11 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-11-30 16:56:11 +0100 |
commit | 93cc4a79c3c2bf6eb9489558795da726f141ed06 (patch) | |
tree | c0143263a353a3de8d294ab84dee6c3fd3d75cd2 /lib/stdlib | |
parent | f5e99a55d4d62074d2bd2e5a58c578a31bc214c8 (diff) | |
parent | ca5d2063fd7239a4c5ee6f2db9f91bbbfc542556 (diff) | |
download | otp-93cc4a79c3c2bf6eb9489558795da726f141ed06.tar.gz otp-93cc4a79c3c2bf6eb9489558795da726f141ed06.tar.bz2 otp-93cc4a79c3c2bf6eb9489558795da726f141ed06.zip |
Merge branch 'maint'
* maint:
Clarification in doc of unicode:characters_to_list/2
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/doc/src/unicode.xml | 9 |
1 files changed, 7 insertions, 2 deletions
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 @@ <c><anno>InEncoding</anno></c>.</p> </item> </list> - <p>Only when <c><anno>InEncoding</anno></c> is one of the UTF - encodings, integers in the list are allowed to be > 255.</p> + <p> + Note that integers in the list always represent code points + regardless of <c><anno>InEncoding</anno></c> passed. If + <c><anno>InEncoding</anno> latin1</c> is passed, only code + points < 256 are allowed; otherwise, all valid unicode code + points are allowed. + </p> <p>If <c><anno>InEncoding</anno></c> is <c>latin1</c>, parameter <c><anno>Data</anno></c> corresponds to the <c>iodata()</c> type, but for <c>unicode</c>, parameter <c><anno>Data</anno></c> can |