Can Python fix vcard files?

Dotan Cohen dotancohen at gmail.com
Wed Oct 15 03:41:48 EDT 2008


2008/10/15 Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand>:
>> I didn't find anything which forbids splitting quoted-printable
>> character values in these specifications.
>
> What adds to the confusion is that quoted-printable has its own convention
> for soft-wrapping long lines, using an equals sign followed by a newline.

My test file has newlines not preceded by an equals sign:
NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=D7=A9=D7=95=D7=A8=D7=94 =D7=A
 8=D7=90=D7=A9=D7=95=D7=A0=D7=94.\n=D7=94=D7=A9=D7=95=D7=A8=D7=94 =D7=94=D7=
 A9=D7=A0=D7=99=D7=94 =D7=9B=D7=\n

Is this not standards-compliant?

It is going to be a pain writing code to work around that!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü


More information about the Python-list mailing list