aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.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-folder-summary.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-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 1224047b29..26b7f2e413 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -1237,18 +1237,18 @@ summary_build_content_info(CamelFolderSummary *s, CamelMimeParser *mp)
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));
+ || strcasecmp(charset, "iso-8859-1")==0)) {
+ d(printf(" Adding conversion filter from %s to iso-8859-1\n", charset));
mfc = g_hash_table_lookup(p->filter_charset, charset);
if (mfc == NULL) {
- mfc = camel_mime_filter_charset_new_convert(charset, "utf-8");
+ mfc = camel_mime_filter_charset_new_convert(charset, "iso-8859-1");
if (mfc)
g_hash_table_insert(p->filter_charset, g_strdup(charset), mfc);
}
if (mfc) {
chr_id = camel_mime_parser_filter_add(mp, (CamelMimeFilter *)mfc);
} else {
- g_warning("Cannot convert '%s' to 'utf-8', message index may be corrupt", charset);
+ g_warning("Cannot convert '%s' to 'iso-8859-1', message index may be corrupt", charset);
}
}