|Subject:||data::ical folds lines with utf-8 sequence at position ~75 wrong|
|Date:||Sun, 29 Apr 2012 21:54:04 +0000|
|To:||"bug-data-ical [...] rt.cpan.org" <bug-data-ical [...] rt.cpan.org>|
|From:||Kaj Niemi <kajtzu [...] a51.org>|
Hi, Data::ICal::Property's folding algorithm (in private method _fold) seems to assume that all content is US-ASCII as the folding happens at 75 bytes no matter what. This assumption becomes a problem when at position 75 there is a UTF-8 sequence (double byte) which may not split onto two lines. It would be nice if folding were a bit smarter. Thanks ;-) Kaj
Message body not shown because it is not plain text.