Implement Unicode escapes, using ES6-like \u{···} syntax.
I also propose removing the '\x??' syntax, and exclusively using '\u{···}'. The rationale is that '\u{···}' can represent all the ASCII codepoints, so '\x??' would be redundant. And, component-model strings are sequences of Unicode Scalar Values, and not byte sequences.
Thanks! I was only really familiar with "old-style" \uXXXX unicode escapes; ~I assume this form doesn't let you encode unpaired surrogates?~ Never mind I see the test cases!
Implement Unicode escapes, using ES6-like
\u{···}
syntax.I also propose removing the '\x??' syntax, and exclusively using '\u{···}'. The rationale is that '\u{···}' can represent all the ASCII codepoints, so '\x??' would be redundant. And, component-model strings are sequences of Unicode Scalar Values, and not byte sequences.