initial restoration of support for encodings different than utf-8
This commit is contained in:
@@ -46,7 +46,7 @@ int LocaleStringComparison::operator()(const std::string &a, const std::string &
|
||||
if (hasTheWord(b))
|
||||
bc_off += 4;
|
||||
}
|
||||
return std::use_facet< std::collate<char> >(m_locale).compare(
|
||||
return std::use_facet<std::collate<char>>(m_locale).compare(
|
||||
ac+ac_off, ac+a.length(), bc+bc_off, bc+b.length()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user