[Tickets #3834] NEW: wrong charset of subject on reply/forward
bugs@bugs.horde.org
bugs at bugs.horde.org
Wed Apr 26 02:25:44 PDT 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3834
-----------------------------------------------------------------------
Ticket | 3834
Created By | miksir at maker.ru
Summary | wrong charset of subject on reply/forward
Queue | IMP
Version | 4.1.1
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
miksir at maker.ru (2006-04-26 02:25) wrote:
In compose.php for get subject of original message used the following:
$header['subject'] = $imp_headers->getOb('subject', true);
'true' here mean mime decode and charset recode to default message charset
(in horde/lib/Horde/MIME/Headers.php:704). As result, MIME-encoded header
conver charset first on MIME::decode and then convert charset again.
Quick solution for me - changes in compose.php:
- $header['subject'] = $imp_headers->getOb('subject', true);
+ $header['subject'] = $imp_headers->getOb('subject');
+ $header['subject'] = MIME::decode($header['subject']);
More information about the bugs
mailing list