From 5dfac3bcc19a0ab4095c9c29f2969e0fc95ccb9d Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sun, 25 Mar 2001 00:28:29 +0000 Subject: Default to iso-8859-1 as the user's charset here if it is undefined. This 2001-03-24 Jeffrey Stedfast * 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 --- mail/ChangeLog | 6 ++++++ mail/openpgp-utils.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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); -- cgit v1.2.3