News for hackers. Stuff that matters.
Re:How ASCII lost and unicode won by cygx on Tuesday July 09, 2013 @08:53AM (#6012383)
In your scheme, we'll end up with multiple leading bytes, though.

Also, how do you plan to handle 9 leading bits instead of the 10 from your example? That would make the second byte start with 10, the marker for continuation bytes.

Re:How ASCII lost and unicode won by drdaeman on Tuesday July 09, 2013 @10:09AM (#6012709)
Ouch, you're right. Refreshed my memory of UTF-8 encoding and now it seems it's designed so it can't be made to express arbitrary values. Not sure why I imagined the opposite. My mistake.