aboutsummaryrefslogtreecommitdiffstats
path: root/mail/openpgp-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-25 08:28:29 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-25 08:28:29 +0800
commit5dfac3bcc19a0ab4095c9c29f2969e0fc95ccb9d (patch)
treea5cdb005d960f95fec8bd999e9e9e11de3f60ae4 /mail/openpgp-utils.c
parent35f59fdcc7431b2e43be25803d352d9b66eeade1 (diff)
downloadgsoc2013-evolution-5dfac3bcc19a0ab4095c9c29f2969e0fc95ccb9d.tar
gsoc2013-evolution-5dfac3bcc19a0ab4095c9c29f2969e0fc95ccb9d.tar.gz
gsoc2013-evolution-5dfac3bcc19a0ab4095c9c29f2969e0fc95ccb9d.tar.bz2
gsoc2013-evolution-5dfac3bcc19a0ab4095c9c29f2969e0fc95ccb9d.tar.lz
gsoc2013-evolution-5dfac3bcc19a0ab4095c9c29f2969e0fc95ccb9d.tar.xz
gsoc2013-evolution-5dfac3bcc19a0ab4095c9c29f2969e0fc95ccb9d.tar.zst
gsoc2013-evolution-5dfac3bcc19a0ab4095c9c29f2969e0fc95ccb9d.zip
Default to iso-8859-1 as the user's charset here if it is undefined. This
2001-03-24 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_verify): Default to iso-8859-1 as the user's charset here if it is undefined. This is a better choice than us-ascii. svn path=/trunk/; revision=8921
Diffstat (limited to 'mail/openpgp-utils.c')
-rw-r--r--mail/openpgp-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/openpgp-utils.c b/mail/openpgp-utils.c
index d5ab123e09..ff74596f6c 100644
--- a/mail/openpgp-utils.c
+++ b/mail/openpgp-utils.c
@@ -1167,7 +1167,7 @@ openpgp_verify (const gchar *in, gint inlen, const gchar *sigin, gint siglen, Ca
charset = getenv ("CHARSET");
if (!charset)
- charset = "US-ASCII";
+ charset = "ISO-8859-1";
cd = iconv_open ("UTF-8", charset);