Force utf8 json encoding by default #3287
This commit is contained in:
parent
47720b906f
commit
1221b8eb00
|
@ -51,7 +51,7 @@
|
|||
|
||||
-spec(encode(json_term()) -> json_text()).
|
||||
encode(Term) ->
|
||||
encode(Term, []).
|
||||
encode(Term, [force_utf8]).
|
||||
|
||||
-spec(encode(json_term(), encode_options()) -> json_text()).
|
||||
encode(Term, Opts) ->
|
||||
|
|
Loading…
Reference in New Issue