diff options
author | Siri Hansen <[email protected]> | 2017-07-03 17:50:36 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-07-03 17:50:36 +0200 |
commit | 08d48990d9669d8123366a218f31697169390a27 (patch) | |
tree | 03106d084e14fac923e0fd998fb74fb1099c3fac /lib | |
parent | 1b79ea8a698c18472d6aebaf5ffaff56ed46f3c1 (diff) | |
parent | 49349644863568fea49e41fe5daf8f20753041df (diff) | |
download | otp-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.erl | 2 |
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]); ({_, _}, _) -> |