aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-03-20 11:57:17 +0100
committerGitHub <[email protected]>2017-03-20 11:57:17 +0100
commita85efc31824b4d59f4ed1eefcd19e9d7c6ef021f (patch)
tree00c6f060c48e0e4f8fb4dde024d9711a1eab57a0 /system
parent748c2d938d309940b8365ed4f6af863b8129c5bf (diff)
parent6fe3935bc51c0fc62b2d740ac43e64ff276bbef8 (diff)
downloadotp-a85efc31824b4d59f4ed1eefcd19e9d7c6ef021f.tar.gz
otp-a85efc31824b4d59f4ed1eefcd19e9d7c6ef021f.tar.bz2
otp-a85efc31824b4d59f4ed1eefcd19e9d7c6ef021f.zip
Merge pull request #1378 from bjorng/bjorn/disallow-unicode-module-names/OTP-14285
Don't allow module names with non-latin1 characters
Diffstat (limited to 'system')
-rw-r--r--system/doc/reference_manual/character_set.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/doc/reference_manual/character_set.xml b/system/doc/reference_manual/character_set.xml
index f0f4c23608..1129ad63d8 100644
--- a/system/doc/reference_manual/character_set.xml
+++ b/system/doc/reference_manual/character_set.xml
@@ -102,13 +102,15 @@
<tcaption>Character Classes</tcaption>
</table>
<p>In Erlang/OTP R16B the syntax of Erlang tokens was extended to
- handle Unicode. The support is limited to
- string literals and comments. Atoms, module names, and
- function names are restricted to the ISO-Latin-1 range.
+ handle Unicode. The support was limited to
+ string literals and comments.
More about the usage of Unicode in Erlang source files
can be found in <seealso
marker="stdlib:unicode_usage#unicode_in_erlang">STDLIB's User's
Guide</seealso>.</p>
+ <p>From Erlang/OTP 20, atoms and function names are also allowed
+ to contain Unicode characters outside the ISO-Latin-1 range.
+ Module names are still restricted to the ISO-Latin-1 range.</p>
</section>
<section>
<title>Source File Encoding</title>