[icalendar-dev] Possible bug: Linebreaks mess up unicode?
Lennart Regebro
regebro at gmail.com
Thu Oct 19 15:29:54 CEST 2006
On 10/19/06, Brad <ykardia at gmail.com> wrote:
> DESCRIPTION:XXXXX Conference:\n"Gestión de riesgos en el sector del petr?
> ?leo"
Right, the line-ending happens inside the UTF-character, breaking it.
This is a bug in icalendar.
I'm guessing the conversion from unicode to UTF-8 should be done in
Contentline.__str__ instead of in vText.ical(), although that might
not make much sense either. Hmmm.
Maybe the conversion could be done not in vXxx.ical, but in
vXxx.__str__ as well as in Contentline.__str__ after the line
splitting?
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.nuxeo.org/
More information about the icalendar-dev
mailing list