aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part-utils.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-17 06:42:12 +0800
committerDan Winship <danw@src.gnome.org>2000-06-17 06:42:12 +0800
commitf0600c2ccbfbd5378cdf980e2d53210c0101639d (patch)
tree6321ea59524bf53f09e57bf1fedde7783f83aaf4 /camel/camel-mime-part-utils.c
parent325ee9a266a538d72018110ba578b670dcdd0dbf (diff)
downloadgsoc2013-evolution-f0600c2ccbfbd5378cdf980e2d53210c0101639d.tar
gsoc2013-evolution-f0600c2ccbfbd5378cdf980e2d53210c0101639d.tar.gz
gsoc2013-evolution-f0600c2ccbfbd5378cdf980e2d53210c0101639d.tar.bz2
gsoc2013-evolution-f0600c2ccbfbd5378cdf980e2d53210c0101639d.tar.lz
gsoc2013-evolution-f0600c2ccbfbd5378cdf980e2d53210c0101639d.tar.xz
gsoc2013-evolution-f0600c2ccbfbd5378cdf980e2d53210c0101639d.tar.zst
gsoc2013-evolution-f0600c2ccbfbd5378cdf980e2d53210c0101639d.zip
KLUDGE! Since neither ETable nor GtkHTML supports UTF-8 yet, output
* camel-mime-utils.c (rfc2047_decode_word): * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): * camel-folder-summary.c (summary_build_content_info): KLUDGE! Since neither ETable nor GtkHTML supports UTF-8 yet, output ISO-8859-1 instead, so Ettore can read his Italian mail. :) This will be reverted later. svn path=/trunk/; revision=3597
Diffstat (limited to 'camel/camel-mime-part-utils.c')
-rw-r--r--camel/camel-mime-part-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c
index 304f343758..d82f65c90d 100644
--- a/camel/camel-mime-part-utils.c
+++ b/camel/camel-mime-part-utils.c
@@ -88,13 +88,13 @@ simple_data_wrapper_construct_from_parser(CamelDataWrapper *dw, CamelMimeParser
const char *charset = header_content_type_param(ct, "charset");
if (charset!=NULL
&& !(strcasecmp(charset, "us-ascii")==0
- || strcasecmp(charset, "utf-8")==0)) {
- d(printf("Adding conversion filter from %s to utf-8\n", charset));
- fch = (CamelMimeFilter *)camel_mime_filter_charset_new_convert(charset, "utf-8");
+ || strcasecmp(charset, "iso-8859-1")==0)) {
+ d(printf("Adding conversion filter from %s to iso-8859-1\n", charset));
+ fch = (CamelMimeFilter *)camel_mime_filter_charset_new_convert(charset, "iso-8859-1");
if (fch) {
chrid = camel_mime_parser_filter_add(mp, (CamelMimeFilter *)fch);
} else {
- g_warning("Cannot convert '%s' to 'utf-8', message display may be corrupt", charset);
+ g_warning("Cannot convert '%s' to 'iso-8859-1', message display may be corrupt", charset);
}
}