the F I X
LC_ALL is indeed a bad idea
This commit is contained in:
parent
6bc0d8d010
commit
acdda759e4
|
@ -491,7 +491,7 @@ int main(int argc, char** argv) {
|
||||||
|
|
||||||
#ifdef HAVE_LOCALE
|
#ifdef HAVE_LOCALE
|
||||||
const char* localeRet=NULL;
|
const char* localeRet=NULL;
|
||||||
if ((localeRet=setlocale(LC_ALL,""))==NULL) {
|
if ((localeRet=setlocale(LC_MESSAGES,""))==NULL) {
|
||||||
logE("could not set locale!");
|
logE("could not set locale!");
|
||||||
} else {
|
} else {
|
||||||
logV("locale: %s",localeRet);
|
logV("locale: %s",localeRet);
|
||||||
|
|
Loading…
Reference in a new issue