In Visual C++, how do I compare two names so that French characters are the same as their English equivalent.
For example, "Bélanger" should compare equal to "Belanger". Or "Coût" compares equial to "Cout".
I used to use CString1.Collate(CString2) in an older version of MS Visual Studio C++, but it no longer seems to work.
I just tried turning on setlocale. It appears to screw up lots of other stuff -- even to the point of causing an infinite loop. It doesn't seem to be a solution to making "Bélanger"and "Belanger" equivalent.
It appears that Collate worked before, but no longer does without it, though.
Any good ideas? Maybe I should write a CollateNoFrench() that replaces the French characters before calling Collate?