[icalendar-dev] Folding lines and utf-8
Diedrich Vorberg
diedrich at tux4web.de
Sat Oct 21 22:00:50 CEST 2006
Hello list,
let me start by saying "Thank You" for the effort you put in
icalendar and that you made it available as OSS.
I've run into a little problem with line folding. The
Contentline.__str__() method splits long lines at the 74th
characters. Yet when using multi byte encodings as utf-8 this may
split a a single char in two rendering the resulting textfile non-
complient with the Unicode standard. One calendering application
complained about this and I had to write a workaround that removes
the corresponding database field if it happens. This is not a big
loss in my case, but I thought I'd bring up the issue on the list.
Kind regards
Diedrich
--
Diedrich Vorberg <diedrich at tux4web.de>
http://tux4web.de · Tel: 02302 425269
"Unix is simple, but it takes a genius
to understand the simplicity."
– Dennis Ritchie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/icalendar-dev/attachments/20061021/d86fc4df/attachment.htm
More information about the icalendar-dev
mailing list