Unicode needs a 21-bit type minimum, does that mean 16-bit wchar_t ABIs are incompatible? Sensible systems use 32-bit wchar_t.
wchar_t can't use surrogate pairs. It's explicitly forbidden. 16-bit wchar_t implies only supporting BMP.
-
-
That's what I supposed. You'd have to transliterate characters you don't support and it would get ugly.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Is it really explicitly forbidden? As opposed to logically incompatible with the meaning of wchar_t.
-
I'm 99% sure I saw an explicit statement in a rationale doc somewhere but I couldn't find it after tweeting that.
-
It's clearly incompatible with mbrtowc/wcrtomb API though.
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.
