I am comparing two sheets using ClosedXML in c#. But i need to first convert the international characters to normal characters and then continue with comparing. I am not getting the encode part. Kindly help me out.
Asked
Active
Viewed 197 times
0
-
What have you done so far to achieve this and where are you failing? – Jayson Jan 21 '19 at 07:02
-
If for instance there is a field 'Name' in both the sheets with values as 'Allen' and 'Allèn'. Now i have two data table where my sheet data are present. While using Equal() to compare both the value, it is returning false. So i am not sure how to convert the character 'è' to 'e'. – Manognya Jan 21 '19 at 08:20
-
1Possible duplicate of [How do I remove diacritics (accents) from a string in .NET?](https://stackoverflow.com/questions/249087/how-do-i-remove-diacritics-accents-from-a-string-in-net) – Francois Botha Jan 23 '19 at 10:24
-
This question is not related to ClosedXML, but is purely a C# question about comparing accented characters to their non-accented versions. – Francois Botha Jan 23 '19 at 10:25