Fix unicode string formatting

Fixes #3066
This commit is contained in:
Evgeny Khramtsov 2019-11-05 17:51:12 +03:00
parent a420eb1f72
commit 3a46612d88
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ suffix(B1, B2) ->
-spec format(io:format(), list()) -> binary().
format(Format, Args) ->
iolist_to_binary(io_lib:format(Format, Args)).
unicode:characters_to_binary(io_lib:format(Format, Args)).
-spec sha(iodata()) -> binary().