On Thu, Jul 21, 2011 at 18:27, Eric Mason eric@equisolve.com wrote:
I had a Windows user tell me her exports from vCard were only giving her every other line. I noticed RoundCube's vcf file had only LFs for line endings, but the vCard standard seems to specify CRLF - http://www.imc.org/pdi/vcard-21.txt%C2%A0. After adding the CRs to the VCF the file imports fine. After a quick search/replace of \n to \r\n in rcube_vcard.php the vCards are importing correctly. I tried to be smart about it but it may not be 100% correct. :)
diff orig/roundcubemail-0.5.3/program/include/rcube_vcard.php ./roundcubemail-0.5.3/program/include/rcube_vcard.php [...]
Line endings fixed in http://trac.roundcube.net/changeset/5012
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/aba52c80