diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-05-10 13:24:28 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-10 13:50:35 +0200 |
commit | 1f9a958e3668a32270d63dc4216804ef6333c9f3 (patch) | |
tree | 1d6ac51f268cc6f592bd475a51488bc31615ba51 /tests/auto/corelib/json/bom.json | |
parent | f6bd10b8ff5aacc6d214d8dd5be570a5301f9433 (diff) |
Correctly parse json documents with a leading BOM
A leading byte order mark is valid in utf-8 and we should
parse documents starting with those correctly.
Change-Id: Id85398ff6e05b93ceefbaf4a6de5571d5e61ca13
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'tests/auto/corelib/json/bom.json')
-rw-r--r-- | tests/auto/corelib/json/bom.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/corelib/json/bom.json b/tests/auto/corelib/json/bom.json new file mode 100644 index 0000000000..d1e8d90e28 --- /dev/null +++ b/tests/auto/corelib/json/bom.json @@ -0,0 +1,3 @@ +{ + "info-version": "1.0" +} |