charset="Windows-1252" in archive

Bug #265486 reported by Iar
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Low
Unassigned

Bug Description

The archives seem to have trouble with Windows-1252
encoding. This is from the headers of such message:

Content-Type: text/plain;
        charset="Windows-1252"
Subject: [F1] =?Windows-1252?Q?
RE=3A_=5BF1=5D_=5BF1=5D_Sp=E1_fyrir_Monako?=

The Subject appears like this in the archives instead
of being decoded.

Don't know if this is a bug with the email client
or Mailman but thought I'd mention it, there seems
to be a lot of these things acording to a Google
search for Mailman and Windows-1252.

[http://sourceforge.net/tracker/index.php?func=detail&aid=431511&group_id=103&atid=100103]

Tags: pipermail
Revision history for this message
Che-fox (che-fox) wrote :

The bug is in HyperArch.py line 158. Check out the patch
attached to bug report #449677 at
http://sourceforge.net/tracker/index.php?func=detail&aid=449677&group_id=103&atid=100103

-- actually, I just realized I should upload it to the
Patches section as well, and will do so now.

The problem is that HyperArch.py assumes charsets are in
the form \w+ (a-z A-Z 0-9 _ only). But they can and do
have other characters like -, as you've seen. The patch
is to replace "\w+" in HyperArch line 158 with: ".+?"

This will make it match any character non-greedily up to
the next ", without going past it. Hope this helps!

Revision history for this message
Jean.c.h (slug71) wrote :

Marked this bug as 'Invalid' due to its age and nothing further has been added in a long time. New versions have been released since as well as some underlying stuff in the OS platform itself.

If this bug still affects then please change status back to 'Confirmed'.

Changed in mailman:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.