After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 359806 - Non-ascii characters generate trash in address lists
Non-ascii characters generate trash in address lists
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
1.8.x (obsolete)
Other Linux
: High major
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-10-05 07:07 UTC by makuchaku (Mayank)
Modified: 2013-09-10 13:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Revised patch (1.76 KB, patch)
2006-11-08 17:35 UTC, Matthew Barnes
committed Details | Review

Description makuchaku (Mayank) 2006-10-05 07:07:19 UTC
+++ This bug was initially created as a clone of Bug #324604 +++

From: irios <irios@proin.es>
To: submit@bugs.gnome.org
X-Mailer: bug-buddy 2.12.1
Subject: Non-ascii characters generate trash in address lists

Distribution: Ubuntu 5.10 (breezy)
Package: Evolution
Severity: Normal
Version: GNOME2.12.1 unspecified
Gnome-Distributor: Ubuntu
Synopsis: Non-ascii characters generate trash in address lists
Bugzilla-Product: Evolution
Bugzilla-Component: Contacts [was: Addressbook]
Bugzilla-Version: unspecified
Description:
Description of Problem:

Non-ascii characters in a name in the address book appear jumbled in
certain fields.

How it happens:

I have names in my agenda with non-ascii chars, such as:

	Guillermo Fernández Gª-Rojo
	Magüi Miño

I input them in the adress book, and everything looks fine.

I write a new email for them.

I click on the "Para" (TO, I guess) button and I get a window where I
can select addressees. All my contacts appear (looking fine) in the left
panel titled "Contactos". I click on Magüi Miño, and she is
highlighted.

I click on the "Añadir" ("Add", I guess) button beside the panel titled
"Para". Junk appears on the panel titled "Para". It reads:
"=?ISO-8859-1?Q?Mag=FCi_Mi=F1o?=<mminho@telefonica.net>"

I click on "Cerrar" ("Close"), and go back to the email window. The
"Para" field reads "Magüi Miño", which is OK. I send the email. She
receives it.

I want to add Magüi to my friends list. This list already featured
"Andrés Pascual" and "Fernando García".

I select the business card view; individual addresses look fine, but the
list looks already jumbled. I add Magüi. More junk appears on the card
view.

I want to send a message to the list: I right-click on it and select
"Send Message", and a new email window appears; the "To" field is full
of junk. I send the message nonetheless; everybody gets it. I view the
sent message in the "Sent" folder; It looks fine.





------- Bug created by bug-buddy at 2005-12-20 12:41 -------


Bugreport had an attachment. This cannot be imported to Bugzilla.
Contact bugmaster@gnome.org if you are willing to write a patch for this.
Comment 1 makuchaku (Mayank) 2006-10-05 07:08:59 UTC
Patch for solving this problem
http://bugzilla.gnome.org/show_bug.cgi?id=324604#c10
Comment 2 Matthew Barnes 2006-11-08 17:35:49 UTC
Created attachment 76218 [details] [review]
Revised patch

Here's a revised version of Mayank's solution for this bug.  I just tidied up the logic a bit.
Comment 3 makuchaku (Mayank) 2006-12-20 10:25:22 UTC
Thanks Matthew :)
Comment 4 Kjartan Maraas 2007-01-25 14:19:39 UTC
Can someone please review this patch?
Comment 5 Srinivasa Ragavan 2007-04-03 10:12:39 UTC
So for contact list you just show the list name. Sounds reasonable to me. Commit.
Comment 6 Kjartan Maraas 2007-04-16 10:45:00 UTC
Matthew, ping?
Comment 7 Srinivasa Ragavan 2007-04-20 04:56:03 UTC
Committed to trunk.
Comment 8 makuchaku (Mayank) 2007-04-20 07:05:53 UTC
Thanks :)