SHA256
1
0
forked from pool/gpg2
gpg2/gnupg-2.0.9-langinfo.patch

12 lines
374 B
Diff
Raw Normal View History

# 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. */