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 {
|
||||
Locale locale(lang.c_str());
|
||||
_coll = Collator::createInstance(status);
|
||||
_coll = Collator::createInstance(locale, status);
|
||||
}
|
||||
|
||||
if(U_FAILURE(status)) {
|
||||
|
|
|
@ -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
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
Loading…
Reference in New Issue