[Vobject] vobject support vcard 2.1

Jeffrey Harris jeffrey at osafoundation.org
Tue Jul 17 12:08:54 CDT 2007


Hello,

> are vcards version 2.1 is supported by vobject ???

Not a lot of work has gone into vCard's in general, but vCard 2.1
support is especially sparse.  Various folks have had different levels
of difficulty parsing vCard 2.1.  The problem with 2.1 is that the spec
leaves a lot of ambiguity.

Nick Piper has done some work on improving vobject's support for vCard
2.1.  I thought I'd have some time to work on this during the spring, it
definitely hasn't happened yet.  If anyone else has time and interest in
working on vCard 2.1 support, help would be much appreciated.

> i have some problems with charset param
> 
> BEGIN:VCARD
> VERSION:2.1
> REV:20060710T021707Z
> UID:004954e000a89aa8-00e0f5ded74f50d2-105
> N;X-EPOCCNTMODELLABEL1=Nombre;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:;T=C3=ADa=20selmy;;;
> 
> TEL;CELL:4421554487
> END:VCARD

The current code's decoding of quoted-printable encoded data is
incomplete, quoted-printable data is decoded into bytes, but those bytes
aren't decoded into unicode using the given charset.  Feel free to file
a bug for this issue, or even better, patches would be welcome ;)

Sincerely,
Jeffrey


More information about the VObject mailing list