Diacritics.NET
Diacritics.NET copied to clipboard
Document DiacriticsOptions.Decompose on README.md
I couldn't figure out why ß wasn't being removed until I poked through the source.
Might be nice to give a Decompose example in the README.md.
Oh, yes. I’m going to add something to the readme. However, I’m pretty stuffed with other tasks; it might take some time. But thanks!
"Buchenstraße".RemoveDiacritics() // this doesn't work, output is the same
string sample = "Buchenstraße"; DiacriticsOptions options = new DiacriticsOptions(); options.Decompose = true; Console.WriteLine(DiacriticsMapper.Current.RemoveDiacritics("ß", options)); // output: empty Console.WriteLine(DiacriticsMapper.Current.RemoveDiacritics(sample, options)); // output: Buchenstrasse
I hope you update the README.md
@brian-tumibay thanks for the hint. Pull requests are welcome, also for documentation related stuff.