From 393dcdd61c3b2da00a97176c647d9bd1c908ceba Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 28 Aug 2020 15:18:00 +0900 Subject: [PATCH] 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 --- common/utf8conv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }