Best approach to handle accented letters

Alfred Newman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 28 04:24:28 PDT 2016


Hello,

I'm getting some troubles to replace the accented letters in a 
given string with their unaccented counterparts.

Let's say I have the following input string "très élégant" and I 
need to create a function to return just "tres elegant". 
Considering we need to take care about unicode chars, what is the 
best way to write a D code to handle that ?

Cheers


More information about the Digitalmars-d-learn mailing list