diff options
author | 1 <NotZed@Ximian.com> | 2001-10-12 06:08:20 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-12 06:08:20 +0800 |
commit | a5fa3f992dd32fdf99bfcf550a8ce62df2b74d13 (patch) | |
tree | ae2d252c33e30e674ad58be332f3cd98e409e3db /camel/camel-mime-part.c | |
parent | 736e73548cb39a7aaad61f01704ac60ccb74f79e (diff) | |
download | gsoc2013-evolution-a5fa3f992dd32fdf99bfcf550a8ce62df2b74d13.tar.gz gsoc2013-evolution-a5fa3f992dd32fdf99bfcf550a8ce62df2b74d13.tar.zst gsoc2013-evolution-a5fa3f992dd32fdf99bfcf550a8ce62df2b74d13.zip |
Removed charset/locale charset lookup and iconv_open/close functions,
2001-10-11 <NotZed@Ximian.com>
* camel-charset-map.[ch]: Removed charset/locale charset lookup
and iconv_open/close functions, moved to gal. Fixed all callers.
svn path=/trunk/; revision=13602
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r-- | camel/camel-mime-part.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 5e6d6b3b09..547c448ea4 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -30,6 +30,9 @@ #include <string.h> #include <stdio.h> #include <ctype.h> + +#include <gal/util/e-iconv.h> + #include "hash-table-utils.h" #include "camel-mime-parser.h" #include "camel-stream-mem.h" @@ -213,7 +216,7 @@ process_header(CamelMedium *medium, const char *header_name, const char *header_ case HEADER_DESCRIPTION: /* raw header->utf8 conversion */ g_free (mime_part->description); if (mime_part->content_type) - charset = camel_charset_to_iconv(header_content_type_param(mime_part->content_type, "charset")); + charset = e_iconv_charset_name(header_content_type_param(mime_part->content_type, "charset")); else charset = NULL; mime_part->description = g_strstrip (header_decode_string (header_value, charset)); |