You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E.g., standalone \x80 and \xEF\xC0\xBB correctly throw (since the parser is catching these as invalid multibyte sequences), but the valid UTF-8 encoded byte sequence \xE2\x82\xAC is being incorrectly passed through as /\xE2\x82\xAC/. It is in fact equivalent to the single code point \u20AC (or €) in JS.
The text was updated successfully, but these errors were encountered:
slevithan
changed the title
Encoded bytes with \x values above \7F not handled correctly
Encoded bytes with \x values above 7F (80-FF) not handled correctly
Dec 23, 2024
E.g., standalone
\x80
and\xEF\xC0\xBB
correctly throw (since the parser is catching these as invalid multibyte sequences), but the valid UTF-8 encoded byte sequence\xE2\x82\xAC
is being incorrectly passed through as/\xE2\x82\xAC/
. It is in fact equivalent to the single code point\u20AC
(or€
) in JS.The text was updated successfully, but these errors were encountered: