diff --git a/src/json_parser.erl b/src/json_parser.erl index 2bfa1e2..47c40f5 100644 --- a/src/json_parser.erl +++ b/src/json_parser.erl @@ -74,7 +74,7 @@ str_to_bin(String, Line) -> , Line , {string, Line, String} , default - , default + , [utf8] } ] }. diff --git a/src/test.erl b/src/test.erl index 79c60fd..d0640e0 100644 --- a/src/test.erl +++ b/src/test.erl @@ -14,7 +14,8 @@ test(V) -> "height" : (-1080), "interlace" : false, "frame rate": V - } + }, + "погода": "🌦️" }}>>. test2() ->