diff options
author | Larry Ewing <lewing@ximian.com> | 2002-10-28 17:13:24 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2002-10-28 17:13:24 +0800 |
commit | c8498cbd6164f48558f62a3bc970f419f9102227 (patch) | |
tree | 2393efe3dabb501bc436c3067bac10d305c7a143 /addressbook/backend | |
parent | d55bf5df7ee22ad7a028d941aa1a92d757554945 (diff) | |
download | gsoc2013-evolution-c8498cbd6164f48558f62a3bc970f419f9102227.tar.gz gsoc2013-evolution-c8498cbd6164f48558f62a3bc970f419f9102227.tar.zst gsoc2013-evolution-c8498cbd6164f48558f62a3bc970f419f9102227.zip |
never set the charset on an item without also encoding it. Mime messages
2002-10-28 Larry Ewing <lewing@ximian.com>
* backend/ebook/e-card.c (addPropValueUTF8): never set the charset
on an item without also encoding it. Mime messages don't like
parts with multiple charsets.
svn path=/trunk/; revision=18451
Diffstat (limited to 'addressbook/backend')
-rw-r--r-- | addressbook/backend/ebook/e-card.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c index 762b5f2141..18f381713c 100644 --- a/addressbook/backend/ebook/e-card.c +++ b/addressbook/backend/ebook/e-card.c @@ -382,12 +382,8 @@ addPropValueUTF8(VObject *o, const char *p, const char *v) for (; *v; v++) { if ((*v) & 0x80) { addPropValue (prop, "CHARSET", "UTF-8"); - for (; *v; v++) { - if (*v == '\n') { - addProp(prop, VCQuotedPrintableProp); - return prop; - } - } + addProp(prop, VCQuotedPrintableProp); + return prop; } if (*v == '\n') { |