[Tickets #3574] some characters are lost from the end of long lines
bugs@bugs.horde.org
bugs at bugs.horde.org
Fri Mar 10 11:31:00 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3574
-----------------------------------------------------------------------
Ticket | 3574
Updated By | Jan Schneider <jan at horde.org>
Summary | some characters are lost from the end of long lines
Queue | IMP
Version | 4.1
State | Assigned
Priority | 3. High
Type | Bug
Owners | Jan Schneider
-----------------------------------------------------------------------
Jan Schneider <jan at horde.org> (2006-03-10 11:31) wrote:
Uh, the last comment was for a different ticket.
The problem here is the String::regexMatch() call in Text/Flowed.php, line
265.
The message is being written in iso-8859-1, so we don't use preg_match that
only supports utf-8. But mb_ereg doesn't support iso-8859-1 either, at least
that's the error message I get.
I guess we need to change the regexMatch() method to always convert to utf-8
and use preg_match.
More information about the bugs
mailing list