From 5ea1f1d1cff441f1cb25a9ee02a17fe62984003c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 12 Jun 2003 04:48:05 +0000 Subject: Partial fix for bug #44457. 2003-06-11 Jeffrey Stedfast 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. svn path=/trunk/; revision=21420 --- camel/camel-mime-part-utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/camel-mime-part-utils.c') 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? */ -- cgit v1.2.3