diff options
-rw-r--r-- | camel/ChangeLog | 16 | ||||
-rw-r--r-- | camel/camel-data-wrapper.c | 2 | ||||
-rw-r--r-- | camel/camel-mime-part-utils.c | 1 |
3 files changed, 17 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 62dd624984..335f346cc5 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,16 @@ +2003-06-11 Jeffrey Stedfast <fejj@ximian.com> + + Partial fix for bug #44457. + + * camel-mime-part-utils.c + (simple_data_wrapper_construct_from_parser): Make sure to set + rawtext to FALSE if we successfully convert the text to UTF-8. + + * camel-data-wrapper.c (camel_data_wrapper_init): Default the + value of rawtext to TRUE instead of FALSE. This way if the mailer + decides to try displaying a non-textual part as text, it knows + that it needs to convert the content to UTF-8. + 2003-06-04 Jeffrey Stedfast <fejj@ximian.com> * camel-uid-cache.c (camel_uid_cache_new): Create the directory @@ -20,7 +33,8 @@ 2003-06-11 Larry Ewing <lewing@ximian.com> - * camel-text-index.c (text_index_normalise): use g_utf8_strdown properly. + * camel-text-index.c (text_index_normalise): use g_utf8_strdown + properly. 2003-06-09 Jeffrey Stedfast <fejj@ximian.com> diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c index de0e2e2cf0..e1d27896a4 100644 --- a/camel/camel-data-wrapper.c +++ b/camel/camel-data-wrapper.c @@ -76,7 +76,7 @@ camel_data_wrapper_init (gpointer object, gpointer klass) camel_data_wrapper->mime_type = header_content_type_new ("application", "octet-stream"); camel_data_wrapper->offline = FALSE; - camel_data_wrapper->rawtext = FALSE; + camel_data_wrapper->rawtext = TRUE; } static void diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c index 7f55dc7639..384e235dd6 100644 --- a/camel/camel-mime-part-utils.c +++ b/camel/camel-mime-part-utils.c @@ -380,6 +380,7 @@ simple_data_wrapper_construct_from_parser (CamelDataWrapper *dw, CamelMimeParser if (out) { /* converted ok, use this data instead */ g_byte_array_free(buffer, TRUE); + dw->rawtext = FALSE; buffer = out; } else { /* else failed to convert, leave as raw? */ |