-
-
Notifications
You must be signed in to change notification settings - Fork 137
feat(developer): escaping should be \u{…} not \uXXXX 🙀 #10319
Copy link
Copy link
Closed
Description
-
use proper escaping, not
\uXXXX -
reject
\uXXXX -
convert
\u{X}to\uXXXX- even for supplemental -
escape marker matches
-
It turns out that we need to use char literals instead of escapes so that normalization works properly.
e<marker>\\u0300\\u0320needs to actually bee<marker>U+0300U+0320so that the normalization can apply - it won't apply to the escaped chars! So probably make a list of which chars are safe to unescape (skipping parens, brackets etc). -
handle \u{...} in reorders
-
split from #9121
Reactions are currently unavailable