bugMHonArc - Bugs: bug #16477, ASCII Headers which are truly...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16477: ASCII Headers which are truly iso-8859-1

Submitter:  Oliver Paukstadt <pstadt>
Submitted:  Mon 01 May 2006 01:03:05 PM UTC
   
 
Category:  Character Sets Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Undesired Behavior
Status:  Invalid Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  All Perl Version:  5.8.3
Component Version:  2.6.15 Fixed Release: 

Mon 01 May 2006 06:08:53 PM UTC, comment #2: 

You can close with "User Error".

I had those lines but with a typo: I used <charsetalias> instead of <charsetaliases>.

Thanks.


Oliver Paukstadt <pstadt>
Mon 01 May 2006 05:47:54 PM UTC, comment #1: 

Did you try aliasing the 'plain' charset name:

<charsetaliases>
iso-8859-1; plain
</charsetaliases>

The 'plain' charset is used to represent text in header
fields that are not non-ASCII encoded.  By default, 'plain'
is 'us-ascii', but you should be able to alias it to something
else.

BTW, you may also want to look at DEFCHARSET for dealing
with message bodies.

Earl Hood <ehood>
Group administrator
Mon 01 May 2006 01:03:05 PM UTC, original submission:  

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

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 utf-8.

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.

Oliver Paukstadt <pstadt>

 

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

Attached Files
file #9866:  mhonarc-8bit-utf8.fix added by pstadt (568B - application/octet-stream - suggested fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-05-01 ehood StatusNeed Info Invalid
    Open/ClosedOpen Closed
2006-05-01 ehood StatusNone Need Info
2006-05-01 pstadt Attached File- Added mhonarc-8bit-utf8.fix, #9866

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code