From 8359ecc707b0a864383c6fa7435257f019a63a7e Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 25 Jul 2002 16:08:14 +0000 Subject: [PATCH] 2002-07-25 Marcus Brinkmann * rungpg.c (_gpgme_gpg_new): Always set utf8 as charset. --- gpgme/ChangeLog | 2 ++ gpgme/rungpg.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 8dc46cb..a23e9d1 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -11,6 +11,8 @@ (gpgme_key_get_string_attr): Add GPGME_ATTR_SIG_SUMMARY case to silence gcc warning. + * rungpg.c (_gpgme_gpg_new): Always set utf8 as charset. + 2002-07-03 Marcus Brinkmann * gpgme.c (gpgme_set_io_cbs): Deal with CTX being NULL. diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c index 15115e5..358a7d4 100644 --- a/gpgme/rungpg.c +++ b/gpgme/rungpg.c @@ -292,6 +292,8 @@ _gpgme_gpg_new (GpgObject *r_gpg) _gpgme_gpg_add_arg (gpg, buf); } _gpgme_gpg_add_arg (gpg, "--no-tty"); + _gpgme_gpg_add_arg (gpg, "--charset"); + _gpgme_gpg_add_arg (gpg, "utf8"); leave: if (rc) -- 2.26.2