D
Dag Henriksson
I'm trying to compare strings written in Swedish using:
std::locale loc(""); // System locale is Swedish
loc(first, second);
But this does not give me the right return value.
for example,
loc(string("å"), string("ä"));
should yield true, since 'å' is less than 'ä' in Swedish, but it doesn't.
Is this a bug?
std::locale loc(""); // System locale is Swedish
loc(first, second);
But this does not give me the right return value.
for example,
loc(string("å"), string("ä"));
should yield true, since 'å' is less than 'ä' in Swedish, but it doesn't.
Is this a bug?