diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-10-05 01:24:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-10-05 01:24:45 +0800 |
commit | a0b931d89d3ef4b2b1ab294e3b8c1f960a3045e7 (patch) | |
tree | f9ea5bfdc2a863cd74fc19ddee3a031b52717d69 /camel | |
parent | cd11dd8f74aaab8e8a7e1ce61f859da4007a5fbc (diff) | |
download | gsoc2013-evolution-a0b931d89d3ef4b2b1ab294e3b8c1f960a3045e7.tar gsoc2013-evolution-a0b931d89d3ef4b2b1ab294e3b8c1f960a3045e7.tar.gz gsoc2013-evolution-a0b931d89d3ef4b2b1ab294e3b8c1f960a3045e7.tar.bz2 gsoc2013-evolution-a0b931d89d3ef4b2b1ab294e3b8c1f960a3045e7.tar.lz gsoc2013-evolution-a0b931d89d3ef4b2b1ab294e3b8c1f960a3045e7.tar.xz gsoc2013-evolution-a0b931d89d3ef4b2b1ab294e3b8c1f960a3045e7.tar.zst gsoc2013-evolution-a0b931d89d3ef4b2b1ab294e3b8c1f960a3045e7.zip |
Use the content-object's rawtext flag to decide if it needs to be filtered
2002-10-03 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part.c (write_to_stream): Use the content-object's
rawtext flag to decide if it needs to be filtered through the
charset filter instead of using the mime part's rawtext flag since
this will never be set. Partial fix for bug #31655.
svn path=/trunk/; revision=18323
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 7 | ||||
-rw-r--r-- | camel/camel-mime-part.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 0a60f67c1f..6af81525f5 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,10 @@ +2002-10-03 Jeffrey Stedfast <fejj@ximian.com> + + * camel-mime-part.c (write_to_stream): Use the content-object's + rawtext flag to decide if it needs to be filtered through the + charset filter instead of using the mime part's rawtext flag since + this will never be set. Partial fix for bug #31655. + 2002-10-03 Not Zed <NotZed@Ximian.com> * camel-folder.c (folder_changed): Dont get the filter driver diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 320324701b..8d5730c904 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -713,7 +713,7 @@ write_to_stream(CamelDataWrapper *data_wrapper, CamelStream *stream) break; } - if (!data_wrapper->rawtext && header_content_type_is(mp->content_type, "text", "*")) { + if (!content->rawtext && header_content_type_is(mp->content_type, "text", "*")) { charset = header_content_type_param(mp->content_type, "charset"); if (charset && !(!strcasecmp(charset, "us-ascii") || !strcasecmp(charset, "utf-8"))) { charenc = (CamelMimeFilter *)camel_mime_filter_charset_new_convert("UTF-8", charset); |