diff options
author | Dan Winship <danw@src.gnome.org> | 2001-06-09 01:50:24 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-06-09 01:50:24 +0800 |
commit | 1921719e0f7a06942ee70f5e1c3472f16c0645c5 (patch) | |
tree | abb931bd3b4caaed3a6ed5a7aae6ec3b396c4424 /composer/e-msg-composer.c | |
parent | d30daa29ce76f66d043e35321b615ca55000c8d8 (diff) | |
download | gsoc2013-evolution-1921719e0f7a06942ee70f5e1c3472f16c0645c5.tar.gz gsoc2013-evolution-1921719e0f7a06942ee70f5e1c3472f16c0645c5.tar.zst gsoc2013-evolution-1921719e0f7a06942ee70f5e1c3472f16c0645c5.zip |
Don't use the default charset if the message is US-ASCII.
* e-msg-composer.c (best_charset): Don't use the default charset
if the message is US-ASCII.
svn path=/trunk/; revision=10157
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 3a818fffdb..98062f786f 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -174,6 +174,9 @@ best_charset (GByteArray *buf, CamelMimePartEncodingType *encoding) { const char *charset; + if (best_encoding (buf, "US-ASCII") == CAMEL_MIME_PART_ENCODING_7BIT) + return NULL; + charset = mail_config_get_default_charset (); *encoding = best_encoding (buf, charset); if (*encoding != -1) |