aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-07-03 17:50:36 +0200
committerSiri Hansen <[email protected]>2017-07-03 17:50:36 +0200
commit08d48990d9669d8123366a218f31697169390a27 (patch)
tree03106d084e14fac923e0fd998fb74fb1099c3fac /lib
parent1b79ea8a698c18472d6aebaf5ffaff56ed46f3c1 (diff)
parent49349644863568fea49e41fe5daf8f20753041df (diff)
downloadotp-08d48990d9669d8123366a218f31697169390a27.tar.gz
otp-08d48990d9669d8123366a218f31697169390a27.tar.bz2
otp-08d48990d9669d8123366a218f31697169390a27.zip
Merge branch 'siri/dbg/faulty-encoding-comment/OTP-14479' into maint
* siri/dbg/faulty-encoding-comment/OTP-14479: [dbg] Fix encoding comment
Diffstat (limited to 'lib')
-rw-r--r--lib/runtime_tools/src/dbg.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/runtime_tools/src/dbg.erl b/lib/runtime_tools/src/dbg.erl
index e82f27896d..92938ed5c1 100644
--- a/lib/runtime_tools/src/dbg.erl
+++ b/lib/runtime_tools/src/dbg.erl
@@ -268,7 +268,7 @@ wtp(FileName) ->
{error, Reason} ->
{error, Reason};
{ok, File} ->
- io:put_chars(File, "%% coding: utf8\n"),
+ io:format(File, "%% ~s\n", [epp:encoding_to_string(utf8)]),
pt_doforall(fun ({_, Val}, _) when is_list(Val) ->
io:format(File, "~tp.~n", [Val]);
({_, _}, _) ->