diff options
author | Björn Gustavsson <[email protected]> | 2013-04-15 10:23:17 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-04-17 08:59:31 +0200 |
commit | 05a646a0844e8cf25045bc9388094c799c21538d (patch) | |
tree | 66e5cdd13e8b6dc8ba648927c84a576e1b659eff /erts/emulator/internal_doc | |
parent | 656b37f1b6fbc3611f5e0f8b8c0e4f61bef9092b (diff) | |
download | otp-05a646a0844e8cf25045bc9388094c799c21538d.tar.gz otp-05a646a0844e8cf25045bc9388094c799c21538d.tar.bz2 otp-05a646a0844e8cf25045bc9388094c799c21538d.zip |
Encode Erlang source files with non-ascii characters in UTF-8
To ensure that 'master' compiles when we merge 'maint' to it,
regardless of which encoding is default in 'master', all source
files with non-ascii characters *must* have the encoding specified.
Diffstat (limited to 'erts/emulator/internal_doc')
-rw-r--r-- | erts/emulator/internal_doc/dec.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/internal_doc/dec.erl b/erts/emulator/internal_doc/dec.erl index 0315f2a52d..255018abe0 100644 --- a/erts/emulator/internal_doc/dec.erl +++ b/erts/emulator/internal_doc/dec.erl @@ -1,3 +1,4 @@ +%% -*- coding: utf-8 -*- %% %% %CopyrightBegin% %% @@ -25,10 +26,10 @@ %% {RevList,Translation} %% Where 'RevList' is a reversed list of the denormalized repressentation of %% the character 'Translation'. An example would be the swedish character -%% '�', which would be represented in the file as: +%% 'ö', which would be represented in the file as: %% {[776,111],246}, as the denormalized representation of codepoint 246 %% is [111,776] (i.e an 'o' followed by the "double dot accent character 776), -%% while '�' instead is represented as {[776,97],228}, as the denormalized +%% while 'ä' instead is represented as {[776,97],228}, as the denormalized %% form would be [97,776] (same accent but an 'a' instead). %% The datafile is generated from the table on Apple's developer connection %% http://developer.apple.com/library/mac/#technotes/tn/tn1150table.html |