aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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') {