Ticket #1988 (new defect)
Opened 5 years ago
addressbook mangles UTF-8 characters when importing version 3 vCards
|Reported by:||kavol||Owned by:||zecke|
|Blocking:||Estimated Completion (week):|
This looks like a pure Qtopia bug, but reading http://lists.openmoko.org/pipermail/openmoko-devel/2008-June/003034.html it looks like I should report it here (and then it potentially goes upstream ...)
I've exported my contacts from kaddressbook using vCard 3.0 into a single file. I've copied the file onto Freerunner and run "DISPLAY=:0 addressbook addressbook.vcf" from the console.
The contacts got imported, however the characters outside the 7bit ASCII range were wrong. The single byte characters were swapped with others, the two byte characters were replaced with two (wrong) characters.
The vcf file was encoded in UTF-8, and as far as I understand the corresponding RFCs, this should be the default unless specified otherwise (which is done by specifying Content-Type, which is not available inside of the file ...), so that I consider this behaviour a bug.
Using vCard 2.1, where the encoding is stated explicitly for each non-ASCII record, the characters are imported properly.
I am using packages from testing: