aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
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')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/openpgp-utils.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ccde26d72c..670641500f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2001-03-23 Jon Trowbridge <trow@ximian.com>
* mail-display.c (handle_embedded_address_object): #ifdef away
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);