alters behaviour for escaped noncharacters in extended plane with loose_unicode enabled, now replaced by single u+fffd, not two
This commit is contained in:
parent
16c29a0070
commit
b73ca00892
2 changed files with 2 additions and 2 deletions
|
@ -709,7 +709,7 @@ low_surrogate(<<D/?utfx, Rest/binary>>, Stack, Opts, String, [C, B, A], High)
|
|||
string(Rest,
|
||||
Stack,
|
||||
Opts,
|
||||
<<String/binary, 16#fffd/utf8, 16#fffd/utf8>>
|
||||
<<String/binary, 16#fffd/utf8>>
|
||||
)
|
||||
; false ->
|
||||
{error, {badjson, <<D/?utfx, Rest/binary>>}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue