diff options
author | Lauris Kaplinski <lauris@src.gnome.org> | 2000-08-25 12:31:13 +0800 |
---|---|---|
committer | Lauris Kaplinski <lauris@src.gnome.org> | 2000-08-25 12:31:13 +0800 |
commit | 81f994a359a8f70efa3ffcca2004233387815b06 (patch) | |
tree | d2051c453ec0d6b4e88f5a730cb593b7605aa42e /camel/camel-folder-summary.c | |
parent | 6252ffa2f5708c65bba754f74cda708558d733a7 (diff) | |
download | gsoc2013-evolution-81f994a359a8f70efa3ffcca2004233387815b06.tar gsoc2013-evolution-81f994a359a8f70efa3ffcca2004233387815b06.tar.gz gsoc2013-evolution-81f994a359a8f70efa3ffcca2004233387815b06.tar.bz2 gsoc2013-evolution-81f994a359a8f70efa3ffcca2004233387815b06.tar.lz gsoc2013-evolution-81f994a359a8f70efa3ffcca2004233387815b06.tar.xz gsoc2013-evolution-81f994a359a8f70efa3ffcca2004233387815b06.tar.zst gsoc2013-evolution-81f994a359a8f70efa3ffcca2004233387815b06.zip |
More UTF-8 handling
svn path=/trunk/; revision=5032
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r-- | camel/camel-folder-summary.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index 71456dbf4d..a990d87a9c 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -1230,18 +1230,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, "iso-8859-1")==0)) { - d(printf(" Adding conversion filter from %s to iso-8859-1\n", charset)); + || strcasecmp(charset, "utf-8")==0)) { + d(printf(" Adding conversion filter from %s to UTF-8\n", charset)); mfc = g_hash_table_lookup(p->filter_charset, charset); if (mfc == NULL) { - mfc = camel_mime_filter_charset_new_convert(charset, "iso-8859-1"); + mfc = camel_mime_filter_charset_new_convert(charset, "UTF-8"); 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 'iso-8859-1', message index may be corrupt", charset); + g_warning("Cannot convert '%s' to 'UTF-8', message index may be corrupt", charset); } } |