Bug 2571

Summary: sets wrong charset for a forwarded recoded HTML message
Product: Sisyphus Reporter: imz <vanyaz>
Component: pineAssignee: viy <viy>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P5    
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
0002571-pine-forw none

Description imz 2003-05-10 16:55:32 MSD
see How to reproduce.

---
Work in pine with charset set to koi8-r.

The attached mbox contains two messages. When viewing the first one, it is autorecoded from \&quot;Windows-1251\&quot; to \&quot;koi8-r\&quot;.
After forwarding it, the edited message is OK. But in the resulting message we get charset set to \&quot;Windows-1251\&quot; again, although it has been recoded to \&quot;koi8-r\&quot;. This can be seen in the second message in the mbox.

Replying works fine.

---
pine-4.55L-alt1

This doesn\'t apply to forwarding any recoded message. It probably has to do with a special representation of the message under consideration: internally, it is regarded as a multipart message with one part -- the body in \&quot;Windows-1251\&quot;. And at a certain stage of sending it, it gets collapsed into a plain one-part message, which gets the charset from the charset value of the part, and it was \&quot;Windows-1251\&quot;: the valid charset for recoded message is set only for the main part before this happens, so it gets lost.

Comment 1 Michael Shigorin 2006-09-27 22:22:20 MSD
reassign
Comment 2 viy 2006-09-28 15:59:40 MSD
4.64L does not have this bug ---
fixed :)

Comment 3 viy 2006-09-28 16:00:15 MSD
closed old bug