dmd foreach loops throw exceptions on invalid UTF sequences, use replacementDchar instead

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sat Nov 6 08:35:44 UTC 2021


On Saturday, 6 November 2021 at 05:36:07 UTC, H. S. Teoh wrote:
> And even more unfortunately, grapheme segmentation is an 
> extremely convoluted (i.e. slow) operation that normally you 
> would *not* want to do it unless your code absolutely has to.

It is suitable for a library though.



More information about the Digitalmars-d mailing list