[approved] [bug #16477] ASCII Headers which are truly iso-8859-1

2006-05-01 10:24:07


                 Summary: ASCII Headers which are truly iso-8859-1
                 Project: MHonArc
            Submitted by: pstadt
            Submitted on: Monday 05/01/06 at 13:03
                Category: Character Sets
                Severity: 3 - Normal
              Item Group: Undesired Behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Operating System: All
            Perl Version: 5.8.3
       Component Version: 2.6.15
           Fixed Release: 



I have lots of mails with plain header fields which are truly iso-8859-1.
From: Björn <bjoern(_at_)(_dot_)(_dot_)>

While converting them using utf-8 example rcfile I ran into the problem that
they are not converted correctly but returned as-is and created problems
within utf-8 html pages since they are an invalid sequence of bytes for

I tried to get around this using some configuration options like
<charsetalias>, but I was not able to get it working.

So I created this small patch which decides on the contents of the string if
plain is us-ascii or iso-8859-1.

Hopefully it is the correct way to deal with those mail headers, for me this
fix works.


File Attachments:

Date: Monday 05/01/06 at 13:03  Name: mhonarc-8bit-utf8.fix  Size: 568B   By:
suggested fix


Reply to this item at:


  Message sent via/by Savannah

To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

<Prev in Thread] Current Thread [Next in Thread>