If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-01-13
OK, it was reported as a bug by one web iCal validator, but actually the validator is just wrong. I immediately started investigating, how to set the line-ending instead of validating validator. My bad.. very sorry. Thanks for your quick response. This thread can be removed.
V.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Michael,
First let me thank you for the great work on the library.
RFC 5545 specifies that lines should end with CRLF characters.
See: http://tools.ietf.org/html/rfc5545#section-3.1
When I serialize I calendar into the String, the lines are ended with Linux
line ends.
(The code is running on Linux.)
ICalendar ical = new ICalendar();
…
return ical.write();
Can I somehow force the CRLF as line ending.
Thanks a lot
Vlada.
biweekly should already be using CRLF as a line ending. I ran a quick test to confirm:
Code:
Result:
Can you describe your situation in more detail?
OK, it was reported as a bug by one web iCal validator, but actually the validator is just wrong. I immediately started investigating, how to set the line-ending instead of validating validator. My bad.. very sorry. Thanks for your quick response. This thread can be removed.
V.
No problem! :)