Closed cyanskies closed 11 months ago
The two encoding tests are including characters from outside the Unicode Scalar Value ranges. I'm pretty sure these escape codes are supposed to be rejected.
This was being caused by the JSON parser used in https://github.com/cyanskies/another-toml-test. A function for parsing these unicode escape codes has been added in https://github.com/cyanskies/another-toml-cpp/commit/bd3a859024a46e2e14258505e1d65dc1aa2fd026 and the tests pass when the JSON strings are passed through the new function.
Decoding:
Encoding: