2. Character Set and Source File Encoding
2 Character Set and Source File Encoding
2.1 Character Set
Since Erlang 4.8/OTP R5A, the syntax of Erlang tokens is extended to allow the use of the full ISO-8859-1 (Latin-1) character set. This is noticeable in the following ways:
-
All the Latin-1 printable characters can be used and are shown without the escape backslash convention.
-
Atoms and variables can use all Latin-1 letters.
Octal | Decimal | Class | |
200 - 237 | 128 - 159 | Control characters | |
240 - 277 | 160 - 191 | - ¿ | Punctuation characters |
300 - 326 | 192 - 214 | À - Ö | Uppercase letters |
327 | 215 | × | Punctuation character |
330 - 336 | 216 - 2
|