[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VCard 2.1 - VCard 3.0
On 2002-08-28 09:11:36 +0200 Lukas Zeller <luz@xxxxxxxxxxxx> wrote:
If somebody can give me a good algorithm ;-)
The main issue is that you cannot unfold first and do further processing such
as QP decoding afterwards. You need to detect that a property is QP encoded
*before* reaching the first line end. If it is QP, you must proceed with QP
decoding/unfolding, if not, you can do the vCard 2.1 unfolding (which is NOT
really rfc822 unfolding! It always leaves one WSP where the line was folded,
meaning that vCard2.1 folding is not possible with data that has no WSP in
I'm not sure to have good understood the vcard2.1: a logical line is composed with 4 parts (group, name, parameter list and value). Can the three first parts be folded ? If yes, with which method ?
How encode a N field (for example) which contains multiple additional names whose one contains a COMMA character or a SEMI-COLON character ? Must i add backslash, then use QP ?