1
0
Fork 0

bug fix: wrong default locale

This commit is contained in:
a-brandt 2012-09-17 14:02:38 +02:00
parent 73d2c59836
commit b505cb77c8
2 changed files with 4 additions and 3 deletions

View File

@ -55,7 +55,7 @@ Utf8Helper::Utf8Helper (const string& lang) : _coll(0) {
}
else {
Locale locale(lang.c_str());
_coll = Collator::createInstance(status);
_coll = Collator::createInstance(locale, status);
}
if(U_FAILURE(status)) {

View File

@ -75,12 +75,13 @@ namespace triagens {
public:
////////////////////////////////////////////////////////////////////////////////
/// @brief constructor
/// @brief constructor
/// @param string lang Use "de_DE", "en_US" or "" (default)
////////////////////////////////////////////////////////////////////////////////
Utf8Helper(const string& lang);
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/// @brief destructor
////////////////////////////////////////////////////////////////////////////////