mirror of https://gitee.com/bigwinds/arangodb
bug fix: wrong default locale
This commit is contained in:
parent
73d2c59836
commit
b505cb77c8
|
@ -55,7 +55,7 @@ Utf8Helper::Utf8Helper (const string& lang) : _coll(0) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Locale locale(lang.c_str());
|
Locale locale(lang.c_str());
|
||||||
_coll = Collator::createInstance(status);
|
_coll = Collator::createInstance(locale, status);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(U_FAILURE(status)) {
|
if(U_FAILURE(status)) {
|
||||||
|
|
|
@ -76,6 +76,7 @@ namespace triagens {
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief constructor
|
/// @brief constructor
|
||||||
|
/// @param string lang Use "de_DE", "en_US" or "" (default)
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
Utf8Helper(const string& lang);
|
Utf8Helper(const string& lang);
|
||||||
|
|
Loading…
Reference in New Issue