diff options
Diffstat (limited to 'src/gpg/GpgContext.cpp')
-rw-r--r-- | src/gpg/GpgContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpg/GpgContext.cpp b/src/gpg/GpgContext.cpp index b35615a6..a8b86619 100644 --- a/src/gpg/GpgContext.cpp +++ b/src/gpg/GpgContext.cpp @@ -51,7 +51,7 @@ GpgContext::GpgContext(bool independent_database, std::string db_path, if (_first) { /* Initialize the locale environment. */ - setlocale(LC_ALL, ""); + LOG(INFO) << "locale" << setlocale(LC_CTYPE, nullptr); gpgme_check_version(nullptr); gpgme_set_locale(nullptr, LC_CTYPE, setlocale(LC_CTYPE, nullptr)); #ifdef LC_MESSAGES |