Apparently the extent of UTF-8's amazingness still isn't widely know. Today on #musl some1 asked to confirm mb chars never have ASCII bytes.
-
-
Just about the only thing that arguably could have been done better in UTF-8 would have been offsetting the base value for multibyte chars..
Show this thread -
So that, for example, c0 80 would represent 0x80+[decoded_bits] = 0x80 rather than being an illegal sequence.
Show this thread -
This would have allowed shorter encoding of a few chars and eliminated the confusion about "overlong sequences" & their invalidity.
Show this thread
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.