vCard and multiline content

View: New views
2 Messages — Rating Filter:   Alert me  

vCard and multiline content

by Art-37 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

Thanks,
art

||
--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: vCard and multiline content

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Art <art2crazy@...>:

> 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/

--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...