bugThe nmh Mail Handling System - Bugs: bug #41618, replyfilter doesn't handle...

 
 

bug #41618: replyfilter doesn't handle non-ascii html unless it has a <meta charset> tag

Submitted by:  None
Submitted on:  Mon 17 Feb 2014 01:01:32 AM UTC  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 18 Feb 2014 05:38:57 PM UTC, comment #1:

Thank you for the patch, it has been applied and will be in the next release of nmh.

Ken Hornstein <kenh>
Project Administrator
Mon 17 Feb 2014 01:01:32 AM UTC, original submission:

replyfilter doesn't care about the encoding of text/html parts, it just assumes that w3m (per default) will figure it out. This works for html containing a <meta charset> tag and html in utf-8 (or possibly the locales default charset).

The following small patch will tell w3m what character set the content is supposedly encoded in, which will make things work for all cases I can think of except for when the content-type header and the <meta charset> disagree and the <meta charset> tag is right.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #30584:  replyfilter.patch added by None (714B - text/x-patch - Previous patch was broken)
file #30583:  replyfilter.patch added by None (650B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kenh (Posted a comment)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Feb 2014 05:38:57 PM UTCkenhStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 17 Feb 2014 01:04:42 AM UTCNoneAttached File-=>Added replyfilter.patch, #30584
    Mon 17 Feb 2014 01:01:33 AM UTCNoneAttached File-=>Added replyfilter.patch, #30583

    Back to the top


    Powered by Savane 3.1-cleanup1