Problem comparing French character Î
Posted
by Bryan
on Stack Overflow
See other posts from Stack Overflow
or by Bryan
Published on 2010-05-20T17:24:28Z
Indexed on
2010/05/20
18:30 UTC
Read the original article
Hit count: 307
When comparing "Île" and "Ile", C# does not consider these to be to be the same.
string.Equals("Île", "Ile", StringComparison.InvariantCultureIgnoreCase)
For all other accented characters I have come across the comparison works fine.
Is there another comparison function I should use?
© Stack Overflow or respective owner