From 099acb404a2a2f35b47175ac265c541670f613cc 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. --- trunk/gpgme/ChangeLog | 2 ++ trunk/gpgme/rungpg.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 8dc46cb..a23e9d1 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/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/trunk/gpgme/rungpg.c b/trunk/gpgme/rungpg.c index 15115e5..358a7d4 100644 --- a/trunk/gpgme/rungpg.c +++ b/trunk/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