Force utf8 json encoding by default #3287

This commit is contained in:
terry-xiaoyu 2020-03-09 13:53:13 +08:00 committed by JianBo He
parent 47720b906f
commit 1221b8eb00
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
-spec(encode(json_term()) -> json_text()). -spec(encode(json_term()) -> json_text()).
encode(Term) -> encode(Term) ->
encode(Term, []). encode(Term, [force_utf8]).
-spec(encode(json_term(), encode_options()) -> json_text()). -spec(encode(json_term(), encode_options()) -> json_text()).
encode(Term, Opts) -> encode(Term, Opts) ->