Ascii matters

bearophile bearophileHUGS at lycos.com
Wed Aug 22 20:05:36 PDT 2012


Sean Kelly:

> I'm clearly missing something.  ASCII and UTF-8 are compatible.
>  What's stopping you from just processing these as if they were 
> UTF-8 strings?

std.algorithm is not closed 
(http://en.wikipedia.org/wiki/Closure_%28mathematics%29 ) on 
UTF-8, its operations lead to UTF-32.

Bye,
bearophile


More information about the Digitalmars-d mailing list