[Tickets #9567] Re: charset pb replying to message
bugs at horde.org
bugs at horde.org
Fri Mar 4 16:09:30 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9567
------------------------------------------------------------------------------
Ticket | 9567
Updated By | rsalmon at mbpgroup.com
Summary | charset pb replying to message
Queue | IMP
Version | Git master
Type | Bug
State | Duplicate
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
rsalmon at mbpgroup.com (2011-03-04 16:09) wrote:
> Still working perfectly here.
body (variable $msg) looks fine up to line 2504 in imp/lib/Compose.php
if ($mode == 'html') {
$msg =
$GLOBALS['injector']->getInstance('Horde_Core_Factory_TextFilter')->filter($msg, array('Cleanhtml', 'Xss'), array(array('body_only' => true), array('strip_styles' => true, 'strip_style_attributes' =>
false)));
} elseif ($type == 'text/html') {
$msg =
$GLOBALS['injector']->getInstance('Horde_Core_Factory_TextFilter')->filter($msg,
'Html2text');
$type = 'text/plain';
}
but after line 2511, msg looks wrong (accent are screwed).
If I change array('Cleanhtml', 'Xss') to array(), accents look OK (but
the reply message is a bit screwed :-)).
More information about the bugs
mailing list