aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2020-08-28 06:18:00 +0000
committerWerner Koch <[email protected]>2020-11-27 16:46:29 +0000
commit7d7a50ba7231bd4432b1254c7067a7f287890632 (patch)
tree5fa47d27e069be2e2e125604ed0cc06d888d2212
parentPost release updates (diff)
downloadgnupg-7d7a50ba7231bd4432b1254c7067a7f287890632.tar.gz
gnupg-7d7a50ba7231bd4432b1254c7067a7f287890632.zip
common: Fix fallback handling to utf-8.
* common/utf8conv.c (handle_iconv_error): Set NO_TRANSLATION. -- GnuPG-bug-id: 5038 Fixes-commit: 99c9bf7defd6c1ac9cc49c84e6c78eeb886a6952 Signed-off-by: NIIBE Yutaka <[email protected]> (cherry picked from commit 393dcdd61c3b2da00a97176c647d9bd1c908ceba)
-rw-r--r--common/utf8conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/utf8conv.c b/common/utf8conv.c
index 7804dbfcd..bdab225a9 100644
--- a/common/utf8conv.c
+++ b/common/utf8conv.c
@@ -138,7 +138,7 @@ handle_iconv_error (const char *to, const char *from, int use_fallback)
native encoding. Nowadays this seems to be the best bet in
case of errors from iconv or nl_langinfo. */
active_charset_name = "utf-8";
- no_translation = 0;
+ no_translation = 1;
use_iconv = 0;
}
}