Creeping Bloat in Phobos

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 28 05:23:57 PDT 2014


On 9/28/14, 3:04 AM, "Marc Schütz" <schuetzm at gmx.net>" wrote:
> The final step would almost inevitably lead to Unicode incorrectness,
> which was the reason why autodecoding was introduced in the first place.
> Just require byCodePoint/byCodeUnit, always. It might be a bit
> inconvenient, but that's a consequence of the fact that we're dealing
> with Unicode strings.

Also let's not forget how well it's worked for C++ to conflate arrays of 
char with Unicode strings. -- Andrei



More information about the Digitalmars-d mailing list