aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/camel-mime-part.c2
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);