.@richfelker I often wonder why the Unicode consortium claims an error should be thrown in that case, I can't see any issues w/not doing so.
-
-
-
Because UTFs are bijections between the set of valid code unit sequences for the UTF and the set of Unicode Scalar Values.
-
The values 0xD800-0xDFFF are not Unicode Scalar Values (the reason being UTF-16 has no way to map them to code unit sequences).
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.