Bug 159499

Summary: KDE-PIM does not handle non-ASCII characters in synchronized contacts correctly
Product: kab3 Reporter: Nicolas L. <kde>
Component: generalAssignee: Tobias Koenig <tokoe>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bugs.kde.enrique, martin.hodges, zdenek.koprivik
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nicolas L. 2008-03-18 07:51:14 UTC
Version:            (using KDE 3.5.9)
Installed from:    Mandriva RPMs

Mandriva Bugreport : https://qa.mandriva.com/show_bug.cgi?id=39011


it seems KDE PIM doesn't handle non-ASCII
characters in imported contact names well. I determined through testing that
this has nothing to do with Windows Mobile in particular. Syncing such a
contact from WM to Evolution works fine.

You can reproduce the bug quite easily:

install Evolution
install KDE
create a contact in Evolution whose name includes non-ASCII characters - è and
ö were the ones I tested with
install kdepim-kitchensync , libopensync-plugin-evolution2 and
libopensync-plugin-kdepim
run KitchenSync
create a new sync group with Evolution and KDE-PIM plugins
synchronize

the contact will be synchronized from Evolution to KDE. When you run
kaddressbook, you'll see that the non-ASCII characters in the contact's name
are not correctly displayed.
Comment 1 Enrique Iglesias 2008-04-22 18:47:41 UTC
I can confirm this.

I recently updated from KDE 3.5.1 to 3.5.9 and got two bugs. The one invalidating all the groupware features. I had to run kolabwizard to fixit...

https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/14309
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/139433

but now I have this one. I can access my contacts again but any non-ascii character into my contacts are shown as small boxes (maybe ascii 255 or 254). If I read the raw dimap message from kmail I got this header:

Content-Type: Text/X-VCard;
  charset="utf-8"

and the contact body is shown correctly, non-ascii characters included.

The same happens if I add a new contact and write non-ascii characters (internationalized characters).

This worked fine in KDE 3.5.1.
Comment 2 Greisberger Christophe 2008-07-15 22:04:42 UTC
I can confirm this. It's somewhat frustrating.
The good news is that it's only a display problem. I checked in the IMAP folder, it's indeed unicode.
And Thunderbird (+SyncKolab) display them correctly (well, the unicode characters of the recognized entries at least).
Comment 3 Greisberger Christophe 2008-07-15 22:06:32 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 Martin Hodges 2009-01-20 10:55:51 UTC
Confirmed on Debian Lenny (kde 3.5.9) and Hardy Heron (kde 3.5.10).
vCard display from the Contacts folder in kmail is incorrect.
Auto fetching of addresses is corrupted in kmail composer.
Display of the Contacts in kaddressbook is incorrect.
Creation of a new contact seems to work correctly (at least in Debian Lenny).

I have the IMAP groupware folder language set to english. What is the significance of this setting?
Comment 5 KOPRajs 2009-04-06 16:06:16 UTC
Confirming on Gentoo with KDE 3.5.9. After syncing with Windows Mobile device using SynCE I get non-ASCII charactes corrupted in kaddressbook.
Let's vote for this one since it makes KDE PIM unusable for now... source patch for KDE 3.5.9 would be nice.
Comment 6 Tobias Koenig 2009-08-05 16:35:42 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.