[Tickets #6103] mbstring problem in iCalendar webcal access
bugs at horde.org
bugs at horde.org
Fri Jan 11 16:11:03 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=6103
-----------------------------------------------------------------------
Ticket | 6103
Created By | yohann.fourteau at aitb.org
Summary | mbstring problem in iCalendar webcal access
Queue | Kronolith
Version | 2.2-RC1
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
yohann.fourteau at aitb.org (2008-01-11 11:11) wrote:
I'm french so my charset is iso-8859-1 and when I want to use the calendar
through webcal with the URL :
http://webmail/horde/rpc.php/kronolith/fourteau.ics
Horde send me the calendar in UTF8. Ok no problem here.
But, I had some problem with sunbird with utf8 decoding and I had to look
into the horde code.
In /horde/lib/Horde/iCaldendar.php, function _foldLine, the command
String::substr is used but without passing the charset variable so it uses
the default charset which is for me iso-8859-1 (not mbyte string) and not
utf-8 (mbyte string)...
The foldline function cuts some mbyte and sunbird or lightning under
thunderbird doesn't like that very much...
I can't provide a patch, i don't enough know the horde code.
Thank you for your help.
More information about the bugs
mailing list