Version: 3.1 (using KDE 3.1.3) Installed from: Mandrake Linux Cooker i586 - Cooker Compiler: gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk) OS: Linux (i686) release 2.4.22-10mdksmp When exporting contacts as vCard 3.0 files (*.vcf), whether individually or several at once, a corruption of UTF-8 stings has been encountered in the vcf files obtained. This happened with contacts belonging to four pre-defined categories consisting of non-ASCII characters. One of non-ASCII characters represented by a two-byte sequence in UTF-8 (the 60th and the 61st bytes) was instead written to as a four-byte sequence with the fourth byte being a line break. The resulting vcf file has a line break in the “CATEGORIES:” line, with the remainder of the string continuing on the next line. The system locale is UTF-8.
Subject: Re: New: UTF-8 strings corruption upon vCard export On Sun, Nov 16, 2003 at 08:27:12AM -0000, Viktor wrote: > Version: 3.1 (using KDE 3.1.3) > Installed from: Mandrake Linux Cooker i586 - Cooker > Compiler: gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk) > OS: Linux (i686) release 2.4.22-10mdksmp Hi Viktor, > The system locale is UTF-8. This should be fixed now in CVS HEAD with the new vCard-Parser, at least I can't reproduce it here. Ciao, Tobias
This bug is present in the Kontact provided with KDE 4.1.2. This is the vcard, as exported from Kaddressbook and opened in Kate: BEGIN:VCARD FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=D7=90=D7=90=D7=99=D7=A9 =D7=91= D7=93=D7=99=D7=A7=D7=94 N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=D7=91=D7=93=D7=99=D7=A7=D7=94;=D 7=90=D7=90=D7=99=D7=A9;;; NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=D7=A9=D7=95=D7=A8=D7=94 =D7=A 8=D7=90=D7=A9=D7=95=D7=A0=D7=94.\n=D7=94=D7=A9=D7=95=D7=A8=D7=94 =D7=94=D7= A9=D7=A0=D7=99=D7=94 =D7=9B=D7=\n=9C =D7=9B=D7=9A =D7=90=D7=A8=D7=95=D7=9B= D7=94 =D7=A9=D7=94=D7=99=D7=94=\n =D7=A2=D7=9C=D7=95=D7=9C=D7=94 =D7=9C=D7= 92=D7=9C=D7=95=D7=A9.\n=D7=A9=D7=95=D7=A8=D7=94 =D7=A9=D7=9C=D7=99=D7=A9=D7 =99=D7=AA.\n UID:U9f5DBG3zU VERSION:2.1 END:VCARD As can clearly be seen, there are line breaks in the middle of quoted-printable data.
This bug seems to be related to bug #172764.
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.