aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-26 03:43:22 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-26 03:43:22 +0800
commit74205e83d12157f4c3c379722a0e6736d19c13ce (patch)
treecc32c6df4eec053249dfe58764e5349306577088 /camel/camel-mime-part.c
parentf9f6af4bcef7e33543a343048e0da492d3941861 (diff)
downloadgsoc2013-evolution-74205e83d12157f4c3c379722a0e6736d19c13ce.tar
gsoc2013-evolution-74205e83d12157f4c3c379722a0e6736d19c13ce.tar.gz
gsoc2013-evolution-74205e83d12157f4c3c379722a0e6736d19c13ce.tar.bz2
gsoc2013-evolution-74205e83d12157f4c3c379722a0e6736d19c13ce.tar.lz
gsoc2013-evolution-74205e83d12157f4c3c379722a0e6736d19c13ce.tar.xz
gsoc2013-evolution-74205e83d12157f4c3c379722a0e6736d19c13ce.tar.zst
gsoc2013-evolution-74205e83d12157f4c3c379722a0e6736d19c13ce.zip
Same as the ones below.
2003-02-25 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-message.c: Same as the ones below. * camel-mime-part.c: Reverted back to pre-camel-iconv * camel-filter-search.c: Same as below. * camel-folder-summary.c: Reverted back to pre-camel-iconv * camel.c (camel_init): Reverted to pre-camel-iconv * camel-charset-map.c (camel_charset_locale_name): Removed (part of the revert). (camel_charset_canonical_name): Same. * camel-mime-filter-charset.c: Revert back to using e_iconv from GAL. * camel-mime-part-utils.c: Revert back to using e_iconv from GAL. * camel-mime-utils.c: Revert back to using e_iconv from GAL. * camel-sasl-digest-md5.c: Revert back to using e-iconv from GAL. svn path=/trunk/; revision=20056
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 765a9af5b5..c33a351413 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -31,6 +31,8 @@
#include <ctype.h>
#include <errno.h>
+#include <gal/util/e-iconv.h>
+
#include "camel-mime-parser.h"
#include "camel-stream-mem.h"
#include "camel-stream-filter.h"
@@ -222,7 +224,7 @@ process_header(CamelMedium *medium, const char *header_name, const char *header_
g_free (mime_part->description);
if (mime_part->content_type) {
charset = header_content_type_param (mime_part->content_type, "charset");
- charset = camel_charset_canonical_name (charset);
+ charset = e_iconv_charset_name (charset);
} else
charset = NULL;
mime_part->description = g_strstrip (header_decode_string (header_value, charset));