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
haxe.Utf8 stores each code point in one UTF-16 unit (ptr[i] = base[i] in src/String.cpp), so addChar(0x1F600) keeps only F600. Without smart strings the conversion is also passed the whole array length rather than the requested range, so it reads past the end.
Activity
Write haxe.Utf8 characters above U+FFFF as surrogate pairs
Write haxe.Utf8 characters above U+FFFF as surrogate pairs