aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-11-30 16:56:11 +0100
committerRickard Green <[email protected]>2017-11-30 16:56:11 +0100
commit93cc4a79c3c2bf6eb9489558795da726f141ed06 (patch)
treec0143263a353a3de8d294ab84dee6c3fd3d75cd2 /lib
parentf5e99a55d4d62074d2bd2e5a58c578a31bc214c8 (diff)
parentca5d2063fd7239a4c5ee6f2db9f91bbbfc542556 (diff)
downloadotp-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')
-rw-r--r--lib/stdlib/doc/src/unicode.xml9
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 &gt; 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 &lt; 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