Test "other/str-escape-bmp"
Expected: 👍 accept · Size: 556.2 KB · Lines: 10.3 k · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · 📄 Declaration · 🔗 Source
s : "\u00e9\u20AC" = "é€" := rfl, where the left side writes the characters
as JSON escapes and the right side as UTF-8 bytes.
A JSON string can spell the same string in several ways: a character can
be written as itself or as a \u escape (with hexadecimal digits in either
case), and a character above U+FFFF as an escaped surrogate pair. All
spellings denote the same String.
Generated by invalid-utf8/gen.py from an export of invalid-utf8/Lit.lean.
See Lean issue #16877.