This website requires JavaScript.
Explore
Help
Sign in
umgeher
/
jsx
Watch
0
Fork
You've already forked jsx
0
Code
Issues
Pull requests
Activity
d081bd2539
jsx
/
priv
/
test_cases
/
unpaired_surrogate.test
4 lines
89 B
Text
Raw
Normal View
History
Unescape
Escape
adds loose_unicode option which replaces badly formed unicode (escaped non-characters and restricted codepoints, as well as partial surrogates) with u+fffd instead of throwing an error
2011-07-27 01:59:03 -07:00
{name, "unpaired_surrogate"}.
change all stray badjson to badarg
2012-05-24 23:07:03 -07:00
{jsx, {error, badarg}}.
adds loose_unicode option which replaces badly formed unicode (escaped non-characters and restricted codepoints, as well as partial surrogates) with u+fffd instead of throwing an error
2011-07-27 01:59:03 -07:00
{json, "unpaired_surrogate.json"}.
Reference in a new issue
Copy permalink