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

Submitted by:  Oliver Paukstadt <pstadt>
Submitted on:  Mon 01 May 2006 01:03:05 PM UTC  
 
Category: Character SetsSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Undesired Behavior
Status: InvalidPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Operating System: AllPerl Version: 5.8.3
Component Version: 2.6.15Fixed 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>
Project 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>

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

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
Mon 01 May 2006 11:26:54 PM UTCehoodStatusNeed Info=>Invalid
  Open/ClosedOpen=>Closed
Mon 01 May 2006 05:47:54 PM UTCehoodStatusNone=>Need Info
Mon 01 May 2006 01:03:05 PM UTCpstadtAttached File-=>Added mhonarc-8bit-utf8.fix, #9866

Back to the top


Powered by Savane 3.1-cleanup1