owncloud-archive / windows-phone

ownCloud Windows Phone App
50 stars 43 forks source link

Fix ICal Multiline Parsing/Writing #3

Open Ahn1 opened 11 years ago

Ahn1 commented 11 years ago

Theres is a bug, that in some cases events with a multiline description cant be written correctly. It should be fixed in the EncodedTokenValue.cs EncodeValue(string value) Methode

A Environment.NewLine in the ical file is not a linebreak in the value. A linebreak sould be a \\n.

framedynamic commented 11 years ago

This maybe associated with "\n" => "\n" and later "\" => "\\" which makes "\\n"? You have to observe the encode/decode-order.