2008-06-22 02:49:11 +02:00
|
|
|
# fix [bnc#305725] - non latin characters displayed incorrectly by pinentry
|
2013-08-20 14:21:25 +02:00
|
|
|
---
|
2018-06-08 16:38:26 +02:00
|
|
|
# jnlib/utf8conv.c | 1 +
|
2013-08-20 14:21:25 +02:00
|
|
|
# 1 file changed, 1 insertion(+)
|
|
|
|
#
|
2018-06-08 16:38:26 +02:00
|
|
|
Index: gnupg-2.1.0/common/utf8conv.c
|
2009-06-20 01:33:05 +02:00
|
|
|
===================================================================
|
2018-06-08 16:38:26 +02:00
|
|
|
--- gnupg-2.1.0.orig/common/utf8conv.c 2014-10-11 19:45:14.000000000 +0200
|
|
|
|
+++ gnupg-2.1.0/common/utf8conv.c 2014-11-07 11:35:05.491413258 +0100
|
|
|
|
@@ -198,6 +198,7 @@ set_native_charset (const char *newset)
|
2014-11-11 11:52:31 +01:00
|
|
|
#else /*!HAVE_W32_SYSTEM && !HAVE_ANDROID_SYSTEM*/
|
2013-08-20 14:21:25 +02:00
|
|
|
|
2008-06-22 02:49:11 +02:00
|
|
|
#ifdef HAVE_LANGINFO_CODESET
|
|
|
|
+ setlocale(LC_ALL, "");
|
|
|
|
newset = nl_langinfo (CODESET);
|
|
|
|
#else /*!HAVE_LANGINFO_CODESET*/
|
|
|
|
/* Try to get the used charset from environment variables. */
|