mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-04-30 19:09:26 +08:00
Tests cover ASCII range, 2-byte UTF-8 (U+00C4), 3-byte UTF-8 (U+20AC), mixed text, multiple escapes, uppercase hex, and unicode in object values. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4 lines
141 B
ChaiScript
4 lines
141 B
ChaiScript
// Test JSON \u escape: 2-byte UTF-8 (U+00C4 = 'Ä')
|
|
// This is the example from issue #477
|
|
assert_equal(from_json("\"\\u00c4\""), "\u00C4")
|