-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can line breaks in ICS export be encoded \n
instead of \N
#511
Comments
Hi there, |
I think https://github.com/hoodie/icalendar/blob/c382ae86a5045bf2569d386d928e40221361410c/src/properties.rs#L162 is the relevant line. |
This is now fixed in the icalendar crate and I've deployed a new version so the fix is live. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @qwandor ,
line breaks in ICS export are currently "encoded" as
\N
. This is valid according to the official ICS specification (page 45).However, it appears that
\n
is much more common and some (downstream) software has issues handling the\N
correctly.I have not found the place, where
\N
is introduced in the code on first sight. As I am not familiar with Rust, I cannot make out any function, which would as a default.Would it be possible, desired and reasonably simple to change the line separator to
\n
instead of the capitalised one?The text was updated successfully, but these errors were encountered: