diff options
author | Björn Gustavsson <[email protected]> | 2013-04-17 09:03:00 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-04-17 09:03:00 +0200 |
commit | d988c8ebc8ec0349413a99ce1296905f83d87546 (patch) | |
tree | 82e8d2f413a2bf124d6483fd9d8e191233f62e63 /lib/test_server/src | |
parent | 74fdfd48d59393b6f0dfb53f343645133675c64b (diff) | |
parent | 05a646a0844e8cf25045bc9388094c799c21538d (diff) | |
download | otp-d988c8ebc8ec0349413a99ce1296905f83d87546.tar.gz otp-d988c8ebc8ec0349413a99ce1296905f83d87546.tar.bz2 otp-d988c8ebc8ec0349413a99ce1296905f83d87546.zip |
Merge branch 'bjorn/fix-encoding/OTP-11041' into maint
* bjorn/fix-encoding/OTP-11041:
Encode Erlang source files with non-ascii characters in UTF-8
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 |