Challenge: write a really really small front() for UTF8

Walter Bright newshound2 at digitalmars.com
Sun Mar 23 17:41:12 PDT 2014


On 3/23/2014 5:32 PM, Mike wrote:
> This example only considers encodings of up to 4 bytes, but UTF-8 can encode
> code points in as many as 6 bytes.  Is that not a concern?

It's not anymore. The 5 and 6 byte encodings are now illegal.



More information about the Digitalmars-d mailing list