6.0.0-beta1
10/18/25

[#3834] wrong charset of subject on reply/forward
Summary wrong charset of subject on reply/forward
Queue IMP
Queue Version 4.1.1
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester miksir (at) maker (dot) ru
Created 04/26/2006 (7115 days ago)
Due
Updated 04/28/2006 (7113 days ago)
Assigned
Resolved 04/28/2006 (7113 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/28/2006 04:51:37 PM Jan Schneider Comment #2
State ⇒ Duplicate
Reply to this comment
Duplicate of bug 3765.
04/26/2006 09:25:43 AM miksir (at) maker (dot) ru Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ wrong charset of subject on reply/forward
Queue ⇒ IMP
Reply to this comment
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']);


Saved Queries