diff options
author | Hans Bolinder <[email protected]> | 2017-09-21 08:03:57 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-09-21 08:03:57 +0200 |
commit | 3693a570f4a080501801c45c127e624cd2bccb72 (patch) | |
tree | 19524db92d93f2a6d2fcdb1f86ab1db2737ef1d4 /lib/tools/src | |
parent | c5fcba8d9917d8da2a9c026cd8838657e44e58fb (diff) | |
parent | f150c21029477836fb4b533ee02290d5b6bcc818 (diff) | |
download | otp-3693a570f4a080501801c45c127e624cd2bccb72.tar.gz otp-3693a570f4a080501801c45c127e624cd2bccb72.tar.bz2 otp-3693a570f4a080501801c45c127e624cd2bccb72.zip |
Merge branch 'maint'
* maint:
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 |