aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2002-10-28 17:13:24 +0800
committerLarry Ewing <lewing@src.gnome.org>2002-10-28 17:13:24 +0800
commitc8498cbd6164f48558f62a3bc970f419f9102227 (patch)
tree2393efe3dabb501bc436c3067bac10d305c7a143
parentd55bf5df7ee22ad7a028d941aa1a92d757554945 (diff)
downloadgsoc2013-evolution-c8498cbd6164f48558f62a3bc970f419f9102227.tar
gsoc2013-evolution-c8498cbd6164f48558f62a3bc970f419f9102227.tar.gz
gsoc2013-evolution-c8498cbd6164f48558f62a3bc970f419f9102227.tar.bz2
gsoc2013-evolution-c8498cbd6164f48558f62a3bc970f419f9102227.tar.lz
gsoc2013-evolution-c8498cbd6164f48558f62a3bc970f419f9102227.tar.xz
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/ChangeLog6
-rw-r--r--addressbook/backend/ebook/e-card.c8
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') {