GNOME Bugzilla – Bug 560681
Parsing QUOTED-PRINTABLE vcards probably ignores CHARSET info
Last modified: 2008-11-25 12:50:25 UTC
Basic info: QUOTED-PRINTABLE: In ISO-8859-1, ü is =FC. In UTF-8, ü is =C3=BC. The name in this example is "Günther Smith". ---cut here--- BEGIN:VCARD VERSION:2.1 FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:G=C3=BCnther Smith N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:G=C3=BCnther Smith TEL;CELL:123 X-IRMC-LUID:0002000004D0 END:VCARD ---cut here--- Setting FN;CHARSET=UTF-8;QUOTED-PRINTABLE:G=C3=BCnther Smith or FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:G=C3=BCnther Smith works both fine when importing into GNOME Evolution 2.22.3.1. Setting FN;CHARSET=ISO-8859-1;QUOTED-PRINTABLE:G=FCnther Smith or FN;CHARSET=ISO-8859-1;ENCODING=QUOTED-PRINTABLE:G=FCnther Smith works NOT when importing into GNOME Evolution 2.22.3.1. So maybe e-d-s simply does not support importing non utf-8 encoded vcards? Ashish, can you please clarify this, or fix the CHARSET parsing if it's a valid issue? Is it parsed at all I wonder? ;-) Downstream bug: https://bugs.maemo.org/show_bug.cgi?id=2781
http://svn.gnome.org/viewvc/evolution-data-server/trunk/addressbook/libebook/e-vcard.c <mcrha> it seems EVcard doesn't understand the CHARSET parameter
Created attachment 123036 [details] [review] proposed eds patch for evolution-data-server; Support CHARSET parameter within the attribute and convert text to UTF-8, if necessary, based on its value.
It's a 'probabledup', I believe.
Looks good to me.
(In reply to comment #3) > It's a 'probabledup', I believe. Yeah, but couldn't find a dup, hence filed this with clear instructions.
Committed to trunk. Committed revision 9774. (In reply to comment #5) > (In reply to comment #3) > Yeah, but couldn't find a dup, hence filed this with clear instructions. How is it possible, how... :)
*** Bug 562209 has been marked as a duplicate of this bug. ***