aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/erl2html2.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-04-17 09:03:00 +0200
committerBjörn Gustavsson <[email protected]>2013-04-17 09:03:00 +0200
commitd988c8ebc8ec0349413a99ce1296905f83d87546 (patch)
tree82e8d2f413a2bf124d6483fd9d8e191233f62e63 /lib/test_server/src/erl2html2.erl
parent74fdfd48d59393b6f0dfb53f343645133675c64b (diff)
parent05a646a0844e8cf25045bc9388094c799c21538d (diff)
downloadotp-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/erl2html2.erl')
-rw-r--r--lib/test_server/src/erl2html2.erl3
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