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 /lib/test_server/src | |
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 'lib/test_server/src')
-rw-r--r-- | lib/test_server/src/erl2html2.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/test_server/src/erl2html2.erl b/lib/test_server/src/erl2html2.erl index 5584c1e50c..d0f40c47a7 100644 --- a/lib/test_server/src/erl2html2.erl +++ b/lib/test_server/src/erl2html2.erl @@ -1,3 +1,4 @@ +%% -*- coding: utf-8 -*- %% %% %CopyrightBegin% %% @@ -214,7 +215,7 @@ html_encoding(utf8) -> %%% from the source. %%% %%% Example: if the encoding of the file is utf8, and we have a string -%%% containing "�" = [229], then we need to convert this to [195,165] +%%% containing "å" = [229], then we need to convert this to [195,165] %%% before writing. Note that this conversion is only necessary %%% because the destination file is not (necessarily) opened with utf8 %%% encoding - it is opened with default encoding in order to allow |