common: Fix fallback handling to utf-8.

* common/utf8conv.c (handle_iconv_error): Set NO_TRANSLATION.

--

GnuPG-bug-id: 5038
Fixes-commit: 99c9bf7def
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2020-08-28 15:18:00 +09:00
parent cde92d3e23
commit 393dcdd61c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}