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 | |
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
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-card.c | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 241d257671..80ecbc62cc 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +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. + 2002-10-25 Dan Winship <danw@ximian.com> * gui/widgets/e-addressbook-model.c (addressbook_destroy): 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') { |