initial restoration of support for encodings different than utf-8

This commit is contained in:
Andrzej Rybczak
2012-10-05 20:50:14 +02:00
parent e40edade0e
commit 044464962c
16 changed files with 135 additions and 110 deletions

View File

@@ -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()
);
}