[sync] vCard and multiline content

Jan Schneider jan at horde.org
Mon Sep 28 09:57:50 UTC 2009


Zitat von Art <art2crazy at gmail.com>:

> Hi,
>
> My setup is:
>
> Horde 3.3.5
> Turba 2.3.2
> Funambol 8.0.4 on iPaq 210
>
> My question is about formatting multiline content in a vCard that  
> horde outputs. When I examined /tmp/sync/data.txt file, the sample I  
> tested looks like so (output from vim):
>
> NOTE;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:notes=0D=0A=^M
> multiline=0D=0A=^M
> skajdaskjl=0D=0A=^M
> ksdklja^M
>
> I'm guessing "^M"  is a carriage return/newline(?). Unfortunately  
> Funambol/Contacts in PPC doesn't understand it and imports it as
>
> "notes
> ="
>
> It will accept/import correctly something like this:
>
> NOTE;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:notes=0D=0A=multiline=0D=0A=skajdaskjl=0D=0A=ksdklja^M
>
> I don't know much about the vCard format, so the question I have is  
> if this is a bug in Funambol and carriage return/newline is  
> acceptable in the vCard or should the multiline content be just one  
> line?

Looks like a bug in Funambol, though line folding is defined a bit  
ambiguous in vCard 2.1, so I won't be surprised if we simply interpret  
it differently (again).

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the sync mailing list