diff options
author | Not Zed <NotZed@Ximian.com> | 2001-08-27 14:33:41 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-08-27 14:33:41 +0800 |
commit | 6fbbb872fe462d0bdebf4559f76e4baca174823c (patch) | |
tree | eb1546ecc172f3e70a15c5922aac991530fa410b /camel/camel-data-wrapper.c | |
parent | bfca62333dba9471d12c579297482bcf7c86149e (diff) | |
download | gsoc2013-evolution-6fbbb872fe462d0bdebf4559f76e4baca174823c.tar.gz gsoc2013-evolution-6fbbb872fe462d0bdebf4559f76e4baca174823c.tar.zst gsoc2013-evolution-6fbbb872fe462d0bdebf4559f76e4baca174823c.zip |
re-read the iconv man page, and treat the return value properly. It
2001-08-27 Not Zed <NotZed@Ximian.com>
* camel-mime-part-utils.c (convert_buffer): re-read the iconv man
page, and treat the return value properly. It returns the number
of non-reversible conversions performed, not the number of output
characters, sigh.
(check_html_charset): Changed to just take a buffer of data, and
not the mime parser.
(simple_data_wrapper_construct_from_parser): Since we dont need
the charset till we have all the data, search for the charset
after we've read the data, if we have html data with no charset in
the header.
(simple_data_wrapper_construct_from_parser): Remove the
seekable_source stuff.
* Re-apply patches from before.
svn path=/trunk/; revision=12481
Diffstat (limited to 'camel/camel-data-wrapper.c')
-rw-r--r-- | camel/camel-data-wrapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c index dd2f475b1e..3a618ead6f 100644 --- a/camel/camel-data-wrapper.c +++ b/camel/camel-data-wrapper.c @@ -71,6 +71,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; } static void |