dylanone
asked on
Formatting newlines using ENCODING=QUOTED-PRINTABLE
In the following C# code - I'm writing to a vCalendar the following information the below line works fine however the street, city, state and zip all appear on the same line.
Response.Write("DESCRIPTIO N;ENCODING =QUOTED-PR INTABLE:" + strDescription + strStreet + strCity + strState + strPostalCode + "\n");
How can I create this so each item is on a seperate line - when I wrote this line like the following:
Response.Write("DESCRIPTIO N;ENCODING =QUOTED-PR INTABLE:" + strDescription + "\n" + strStreet + "\n" + strCity + "\n" + strState + "\n" + strPostalCode + "\n");
I don't get any compile errors but when I click the link to add the item to my calendar - I get a cannot import vCalendar error then it says:
This error can appear if you have attempted to save a recurring Lunar appointment in iCalendar format.
To avoid this error, set the appointment option to Gregorian instead of Lunar.
Response.Write("DESCRIPTIO
How can I create this so each item is on a seperate line - when I wrote this line like the following:
Response.Write("DESCRIPTIO
I don't get any compile errors but when I click the link to add the item to my calendar - I get a cannot import vCalendar error then it says:
This error can appear if you have attempted to save a recurring Lunar appointment in iCalendar format.
To avoid this error, set the appointment option to Gregorian instead of Lunar.
ASKER
It doesn't appear to like that one either
I still get the error
I still get the error
ASKER
Actually - I just figured this one out in the vCalendar one can use the "=0A" which works for me!
ASKER
I guess this question can be deleted or kept for reference!
Please post in community support to have this question closed:
https://www.experts-exchange.com/Community_Support/
https://www.experts-exchange.com/Community_Support/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Response.Write("DESCRIPTIO