diff options
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r-- | mail/mail-format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c index 02c9fc6df5..d3e8e1110c 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -35,9 +35,9 @@ #include <libgnome/gnome-util.h> #include <libgnomevfs/gnome-vfs-mime-handlers.h> -#include <gal/util/e-iconv.h> #include <shell/e-setup.h> +#include <camel/camel-charset-map.h> #include <camel/camel-mime-utils.h> #include <camel/camel-pgp-mime.h> #include <camel/camel-stream-null.h> @@ -1015,7 +1015,7 @@ write_headers (MailDisplayStream *stream, MailDisplay *md, CamelMimeMessage *mes ct = camel_mime_part_get_content_type (CAMEL_MIME_PART (message)); charset = header_content_type_param (ct, "charset"); - charset = e_iconv_charset_name (charset); + charset = camel_charset_canonical_name (charset); header = CAMEL_MIME_PART (message)->headers; while (header) { |