[PATCH 1/2] Fix bs get_decoded_stream, as it was not decoding properly text parts



	* libtinymail-camel/tny-camel-bs-mime-part.c
	(..._get_decoded_stream_default): properly decode text/plain
	messages as utf8.
---
 ChangeLog                                  |    6 ++++++
 libtinymail-camel/tny-camel-bs-mime-part.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4c630f6..a548049 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-12-21  Jose Dapena Paz  <jdapena igalia com>
+
+	* libtinymail-camel/tny-camel-bs-mime-part.c
+	(..._get_decoded_stream_default): properly decode text/plain
+	messages as utf8.
+
 2009-12-18  Sergio Villar Senin  <svillar igalia com>
 
 	* camel/providers/pop3/camel-pop3-folder.c (pop3_sync): protect
diff --git a/libtinymail-camel/tny-camel-bs-mime-part.c b/libtinymail-camel/tny-camel-bs-mime-part.c
index 4808312..b6149ab 100644
--- a/libtinymail-camel/tny-camel-bs-mime-part.c
+++ b/libtinymail-camel/tny-camel-bs-mime-part.c
@@ -798,7 +798,7 @@ static TnyStream*
 tny_camel_bs_mime_part_get_decoded_stream_default (TnyMimePart *self)
 {
 	TnyStream *retval = tny_camel_mem_stream_new ();
-	fetch_part (self, retval, FALSE);
+	fetch_part (self, retval, TRUE);
 	tny_stream_reset (retval);
 	return retval;
 }
-- 
1.6.3.3


--=-Yg8q9tBt8l7SqQ49Sqzs
Content-Disposition: attachment; filename="0002-Decode-properly-filename-in-bs-mime-part.patch"
Content-Type: text/x-patch; name="0002-Decode-properly-filename-in-bs-mime-part.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]