GNOME Bugzilla – Bug 357698
followups mangle charset encoding
Last modified: 2006-09-30 02:20:53 UTC
This was reported by Artur Jachacy in http://bugzilla.gnome.org/show_bug.cgi?id=356835 and is being promoted to its own ticket. Short summary: because BodyPane::create_followup_or_reply() uses g_mime_message_get_body() rather than traversing through the mime message and decoding each part by its charset info, a non-UTF-8 message that displays fine in the body pane can get mangled upon followup. For the thread to date, see http://bugzilla.gnome.org/show_bug.cgi?id=356835 beginning at comment #13.
Created attachment 73401 [details] [review] 0.113 patch Thanks for tracking this down, Christophe. :)
This looks right to me, but could one of you confirm that the posting window's quoted text looks right w/this patch?
Looks right to me.
Good, then it's time to roll 0.114. :)
Pan (still) mangles quotes from articles with undeclared encoding.
this bug doesn't address that problem. Suggest you open a new one, with an example.
No, Artur is right. It's a bug in the patch in comment #1. I'll put up another patch.
Created attachment 73469 [details] [review] 0.114 patch Fixes a bug in the previous patch which correctly used the mime part's encoding as the first fallback, but wrongly did not use the group's charset as the secondary fallback.
Artur, could you please give the new patch a try?
It's fixed.