diff options
author | NIIBE Yutaka <[email protected]> | 2020-08-28 06:18:00 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-11-27 16:46:29 +0000 |
commit | 7d7a50ba7231bd4432b1254c7067a7f287890632 (patch) | |
tree | 5fa47d27e069be2e2e125604ed0cc06d888d2212 | |
parent | Post release updates (diff) | |
download | gnupg-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.c | 2 |
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; } } |