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
stdlib: Check for illegal surrogates when wchar_t is 2 bytes
Handling 2-byte wchar_t values requires extra care to avoid
illegal surrogate sequences both in and out of the library.
Make sure a high surrogate is always followed by a low surrogate
and that a low surrogate never stands alone.
When parsing utf-8 into 2-byte wchar_t, make sure the utf-8 value
doesn't contain a surrogate value.
Signed-off-by: Keith Packard <[email protected]>
0 commit comments