Compare string with German umlauts

Martin Tschierschke mt at smartdolphin.de
Tue May 19 12:01:41 UTC 2020


On Monday, 18 May 2020 at 14:28:33 UTC, Steven Schveighoffer 
wrote:
>
> What you need is to normalize the data for comparison: 
> https://dlang.org/phobos/std_uni.html#normalize
>
> For more reference: 
> https://en.wikipedia.org/wiki/Combining_character
>
> -Steve

I checked it again but could not reproduce the original error, it 
somehow seems that my compare string contained another error. But 
nevertheless good to know how to deal with encoding errors!



More information about the Digitalmars-d-learn mailing list