In C#, I want to convert strings to upper case following the rules of Unicode-defined "full case mappings" with no culture-specific tailoring. This means, for example, that ß
must convert to SS
.
Both String.ToUpper()
and String.ToUpperInvariant()
convert ß
to ß
.
Is there a method (built in or third party) that implements this specification?
Someone closed this question claiming it is a duplicate of Convert a string to ordinal upper or lower case. I'm afraid they didn't read either question very carefully. That question makes no mention of Unicode standards for case folding. Also, the question has an answer, but it doesn't have a solution, and since 5 years have elapsed, I was hoping there might now be a solution.