The Case Against Autodecode

Marc Schütz via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 2 10:54:52 PDT 2016


On Thursday, 2 June 2016 at 14:28:44 UTC, Andrei Alexandrescu 
wrote:
> That's not going to work. A false impression created in this 
> thread has been that code points are useless

They _are_ useless for almost anything you can do with strings. 
The only places where they should be used are std.uni and 
std.regex.

Again: What is the justification for using code points, in your 
opinion? Which practical tasks are made possible (and work 
_correctly_) if you decode to code points, that don't already 
work with code units?


More information about the Digitalmars-d mailing list