From 6e09b3d40f98b7ac3dd402713c2e9fe6d7186ffa Mon Sep 17 00:00:00 2001 From: Antonio Nikishaev Date: Thu, 9 May 2019 16:18:27 +0400 Subject: [PATCH] Fix Unicode --- src/json_parser.erl | 2 +- src/test.erl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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() ->