mirror of
git://git.gnupg.org/gnupg.git
synced 2024-09-24 15:31:41 +02:00
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> (cherry picked from commit393dcdd61c
)
This commit is contained in:
parent
abd9aeecfb
commit
7d7a50ba72
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user