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
{{ message }}
Repository navigation
Bytes.ofString and urlEncode throw on a lone surrogate #110
Encoding a string that holds a lone surrogate to UTF-8 throws "Invalid UTF16" in Bytes.ofString, StringTools.urlEncode and utf8_str(), while trace and Sys.print encode it. JavaScript and HashLink encode it (as U+FFFD or WTF-8) rather than throw.
Activity
Encode a lone surrogate as U+FFFD instead of throwing
Encode a lone surrogate as U+FFFD instead of throwing