aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment-bar.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-08-12 01:59:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-08-12 01:59:54 +0800
commit15aaf53b7dc1a328f28d402f74186b993ac39eec (patch)
tree7eacfacc2271c8178c8ee824e74cab255fd3ace0 /composer/e-msg-composer-attachment-bar.c
parentb328a21e7c026aaa9cdd5e332ed7e39e0003d8eb (diff)
downloadgsoc2013-evolution-15aaf53b7dc1a328f28d402f74186b993ac39eec.tar
gsoc2013-evolution-15aaf53b7dc1a328f28d402f74186b993ac39eec.tar.gz
gsoc2013-evolution-15aaf53b7dc1a328f28d402f74186b993ac39eec.tar.bz2
gsoc2013-evolution-15aaf53b7dc1a328f28d402f74186b993ac39eec.tar.lz
gsoc2013-evolution-15aaf53b7dc1a328f28d402f74186b993ac39eec.tar.xz
gsoc2013-evolution-15aaf53b7dc1a328f28d402f74186b993ac39eec.tar.zst
gsoc2013-evolution-15aaf53b7dc1a328f28d402f74186b993ac39eec.zip
don't set the rawtext bit anymore.
2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): don't set the rawtext bit anymore. * e-msg-composer.c (build_message): Convert the plain part's content stream from UTF-8 to whatever charset we want. svn path=/trunk/; revision=22172
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.c')
-rw-r--r--composer/e-msg-composer-attachment-bar.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index c6e9e7bcee..4cc893ec1a 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -753,14 +753,7 @@ attach_to_multipart (CamelMultipart *multipart,
const char *charset;
char *type;
- /* assume that if a charset is set, that the content is in UTF-8
- * or else already has rawtext set to TRUE */
- if (!(charset = header_content_type_param (content_type, "charset"))) {
- /* Let camel know that this text part was read in raw and thus is not in
- * UTF-8 format so that when it writes this part out, it doesn't try to
- * convert it from UTF-8 into the @default_charset charset. */
- content->rawtext = TRUE;
- }
+ charset = header_content_type_param (content_type, "charset");
stream = camel_stream_null_new ();
filter_stream = camel_stream_filter_new_with_stream (stream);