diff options
| author | NIIBE Yutaka <[email protected]> | 2020-08-28 06:18:00 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2020-08-28 06:18:00 +0000 |
| commit | 393dcdd61c3b2da00a97176c647d9bd1c908ceba (patch) | |
| tree | 6d505afbf5980d2c45962366b7b9c4e7fbf0766a /common/utf8conv.c | |
| parent | doc: Add a remark about keyservers. (diff) | |
| download | gnupg-393dcdd61c3b2da00a97176c647d9bd1c908ceba.tar.gz gnupg-393dcdd61c3b2da00a97176c647d9bd1c908ceba.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]>
Diffstat (limited to 'common/utf8conv.c')
| -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; } } |
