[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: iCalendar - "octets" question
Alan Davies wrote:
>
> What is the purpose of adding folding?
>
> If it's for human legibility of the iCalendar source, then folding
> between characters would make more sense than between octets.
>
> If folding is just for preventing absurdly long lines which some
> machines may not like, then folding between octets might make more
> sense.
But makes unfolding - a guess if you don't know the charset.
> RFC 2445 states that folding should be added between characters of
> course. Is it OK to change this because it allows a certain parser
> implementation strategy to work?
That was because iCalendar objects can be sent via email,
and email (821 or 822) specifies folding?
> Of course, folding is only a "SHOULD"; are multibyte characters
> one of the "valid reasons in particular circumstances" [RFC2119]
> for not adding folding.
Fold between characters - not at octets.
begin:vcard
n:Royer;Doug
tel;cell:208-520-4044
tel;fax:208-552-1179
tel;work:208-520-4044
x-mozilla-html:TRUE
url:http://Royer.com/People/Doug
org:INET-Consulting LLC
version:2.1
email;internet:Doug@xxxxxxxxx
title:Chief Executive Manager
adr;quoted-printable:;;1795 W. Broadway #266=0D=0A;Idaho Falls;ID;83402;USA
x-mozilla-cpt:;-1
fn:Doug Royer
end:vcard