# fix [bnc#305725] - non latin characters displayed incorrectly by pinentry --- jnlib/utf8conv.c +++ jnlib/utf8conv.c @@ -205,6 +205,7 @@ #else /*!HAVE_W32_SYSTEM*/ #ifdef HAVE_LANGINFO_CODESET + setlocale(LC_ALL, ""); newset = nl_langinfo (CODESET); #else /*!HAVE_LANGINFO_CODESET*/ /* Try to get the used charset from environment variables. */