Bug 137711 - Cannot import UTF-16 vcard into KAddressBook
Summary: Cannot import UTF-16 vcard into KAddressBook
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-21 23:53 UTC by Geoff Oakham
Modified: 2009-08-05 16:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Oakham 2006-11-21 23:53:02 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Unlisted Binary Package
OS:                Linux

AddressBook on MacOSX exports vcards as UTF-16BE if they contain characters not found in ASCII.  (As far as I can tell, this is a legal vcard.)  I confirmed this was the problem by using 'iconv' to convert the file manually to utf-8, after which import worked fine.
Comment 1 Geoff Oakham 2006-11-21 23:53:59 UTC
Note, I believe the code itself is part of kdelibs.
Comment 2 Ferdinand Gassauer 2007-01-13 10:43:25 UTC
IMHO a missing feature - given the fact that apple is a major player

prepending the import with 
"recode UTF16..UTF8" or "iconv ..." for a new import Format "Apple vcards UTF-16" should be easy.

BTW I had problems converting the apple vcards with iconv, because they had CTRL-U (after converting) in the files. No idea where they come from (may be old Psion data).
recode can handle this, iconv stops with an error.
Comment 3 Ferdinand Gassauer 2007-01-13 12:36:21 UTC
I just realized that not ALL vcards  exported by Apples adressbook are UTF16.
some are just plain UTF8. 
Comment 4 Tobias Koenig 2009-08-05 16:31:45 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.