detect utf8 bom and ignore if present
This commit is contained in:
parent
5e87f02fc5
commit
e69ac5f371
3 changed files with 29 additions and 1 deletions
1
priv/test_cases/bom.json
Normal file
1
priv/test_cases/bom.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
3
priv/test_cases/bom.test
Normal file
3
priv/test_cases/bom.test
Normal file
|
@ -0,0 +1,3 @@
|
|||
{name, "byte order mark"}.
|
||||
{jsx, [start_array, end_array, end_json]}.
|
||||
{json, "bom.json"}.
|
Loading…
Add table
Add a link
Reference in a new issue