R
Ralf Goertz
Hi,
is there a standard way to compare wide characters c1 and c2 such that
the result is "equal" if c1 is the same but accented character like c2:
equal(L'é',L'e') => true,
equal(L'a',L'e') => false
I know this depends on the used locale. The problem is that
std::collate.compare() only gives a different sort order but does not
return 0 for a comparison of say "Apfel" and "Äpfel".
is there a standard way to compare wide characters c1 and c2 such that
the result is "equal" if c1 is the same but accented character like c2:
equal(L'é',L'e') => true,
equal(L'a',L'e') => false
I know this depends on the used locale. The problem is that
std::collate.compare() only gives a different sort order but does not
return 0 for a comparison of say "Apfel" and "Äpfel".