diff options
author | Siri Hansen <[email protected]> | 2017-07-03 17:51:54 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-07-03 17:51:54 +0200 |
commit | ea5fbd3f832e4cc7342d33e5d205a8f3fe15af7c (patch) | |
tree | 1d5882fb8e23b9286bafb3ee4d1b9b80fb50f356 /lib/runtime_tools | |
parent | f3c1cdd43c4f45bd0333b2ddcc9d78cbcf4c6cf0 (diff) | |
parent | c5a6e3d99144c94ef557da5787c76f12737044d9 (diff) | |
download | otp-ea5fbd3f832e4cc7342d33e5d205a8f3fe15af7c.tar.gz otp-ea5fbd3f832e4cc7342d33e5d205a8f3fe15af7c.tar.bz2 otp-ea5fbd3f832e4cc7342d33e5d205a8f3fe15af7c.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/runtime_tools')
-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]); ({_, _}, _) -> |