# fix [bnc#305725] - non latin characters displayed incorrectly by pinentry --- # jnlib/utf8conv.c | 1 + # 1 file changed, 1 insertion(+) # Index: gnupg-2.0.21/jnlib/utf8conv.c =================================================================== --- gnupg-2.0.21.orig/jnlib/utf8conv.c 2013-08-19 09:55:30.000000000 +0100 +++ gnupg-2.0.21/jnlib/utf8conv.c 2013-08-19 18:53:22.000000000 +0100 @@ -148,6 +148,7 @@ set_native_charset (const char *newset) #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. */