[evolution-data-server] Convert quoted-printing to UTF-8 when copying from To, CC, or BCC Fields



commit 379f195dd9d3712dcc0621a9cd05694cbd1e2b96
Author: Vibha Yadav <yvibha novell com>
Date:   Mon Feb 28 11:18:33 2011 +0530

    Convert quoted-printing to UTF-8 when copying from To, CC, or BCC Fields

 addressbook/libebook/e-destination.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/addressbook/libebook/e-destination.c b/addressbook/libebook/e-destination.c
index e5aebca..1becb41 100644
--- a/addressbook/libebook/e-destination.c
+++ b/addressbook/libebook/e-destination.c
@@ -880,10 +880,10 @@ e_destination_get_address (const EDestination *dest)
 			}
 			iter = g_list_next (iter);
 		}
-		priv->addr = camel_address_encode (CAMEL_ADDRESS (addr));
+		priv->addr = camel_address_format (CAMEL_ADDRESS (addr));
 	} else if (priv->raw) {
 		if (camel_address_unformat (CAMEL_ADDRESS (addr), priv->raw))
-			priv->addr = camel_address_encode (CAMEL_ADDRESS (addr));
+			priv->addr = camel_address_format (CAMEL_ADDRESS (addr));
 	} else {
 		const gchar *name, *email;
 		name = e_destination_get_name (dest);
@@ -897,7 +897,7 @@ e_destination_get_address (const EDestination *dest)
 			nothing we can do here */
 			camel_address_decode (CAMEL_ADDRESS (addr), name);
 
-		priv->addr = camel_address_encode (CAMEL_ADDRESS (addr));
+		priv->addr = camel_address_format (CAMEL_ADDRESS (addr));
 	}
 	g_object_unref (addr);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]