diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2020-12-31 15:47:00 +0100 |
---|---|---|
committer | Jan-Michael Brummer <jan.brummer@tabos.org> | 2020-12-31 15:47:00 +0100 |
commit | 03ef3863734ec62f29b99205b717a826d6c76b00 (patch) | |
tree | 841908db4bbb926762ce7b6a283c50bf91ad85a0 /json-glib/tests/path.c | |
parent | 1bd60e1a07f4c978ed16ddb6d1876b55be87e200 (diff) | |
download | json-glib-handle-utf8-bom.tar.gz |
parser: Ignore UTF-8 BOM if necessaryhandle-utf8-bom
According to JSON spec BOM shouldn't be part of the JSON data, but
also recommends to tolerate files with a BOM marker. As this is common
in several Windows JSON generators, handle it graceful in json-glib and
skip it for UTF-8 BOM.
Fixes: https://gitlab.gnome.org/GNOME/json-glib/-/issues/56
Diffstat (limited to 'json-glib/tests/path.c')
0 files changed, 0 insertions, 0 deletions