diff options
author | Hans Bolinder <[email protected]> | 2017-09-21 08:01:52 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-09-21 08:01:52 +0200 |
commit | f150c21029477836fb4b533ee02290d5b6bcc818 (patch) | |
tree | 45b5a86849d3d870739e3080e2184459e6929539 /lib/tools/src | |
parent | 79bd54e898c65f8b649d56525db214386cc75cf8 (diff) | |
parent | 918e7de543f729b6fad35c22eaeeb3fba3a4a7ba (diff) | |
download | otp-f150c21029477836fb4b533ee02290d5b6bcc818.tar.gz otp-f150c21029477836fb4b533ee02290d5b6bcc818.tar.bz2 otp-f150c21029477836fb4b533ee02290d5b6bcc818.zip |
Merge branch 'hasse/tools/fprof_unicode_fix' into maint
* hasse/tools/fprof_unicode_fix:
fprof: Make sure the receiving file can handle Unicode
Diffstat (limited to 'lib/tools/src')
-rw-r--r-- | lib/tools/src/fprof.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/src/fprof.erl b/lib/tools/src/fprof.erl index 2fe42beb03..fb657c2928 100644 --- a/lib/tools/src/fprof.erl +++ b/lib/tools/src/fprof.erl @@ -1136,7 +1136,7 @@ ensure_open(Pid, _Options) when is_pid(Pid) -> ensure_open([], _Options) -> {already_open, undefined}; ensure_open(Filename, Options) when is_atom(Filename); is_list(Filename) -> - file:open(Filename, Options). + file:open(Filename, [{encoding, utf8} | Options]). %%%--------------------------------- %%% Fairly generic utility functions |