summaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpgv.c')
-rw-r--r--g10/gpgv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/gpgv.c b/g10/gpgv.c
index 362f5c528..dcb2a9d94 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -164,6 +164,8 @@ main( int argc, char **argv )
tty_no_terminal(1);
tty_batchmode(1);
disable_dotlock();
+
+ set_native_charset (NULL); /* Try to auto set the character set */
pargs.argc = &argc;
pargs.argv = &argv;