1
0
mirror of https://github.com/nlohmann/json synced 2024-12-01 16:10:06 +00:00
nlohmannjson/include
Rimas Misevičius 6815968a42 Fix error message about invalid surrogate pairs
I tested following strings with invalid surrogate pair and unpaired surrogate in files:

1. `"a\uD800\uD800x"`
2. `"a\uD800x"`

The error messge was: "... invalid string: surrogate U+DC00..U+DFFF must be followed by U+DC00..U+DFFF; ..."

I think it must be: "... invalid string: surrogate U+D800..U+DBFF must be followed by U+DC00..U+DFFF; ..."
2020-05-01 00:23:04 +03:00
..
nlohmann Fix error message about invalid surrogate pairs 2020-05-01 00:23:04 +03:00