charset="Windows-1252" in archive
Bug #265486 reported by
Iar
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;
Subject: [F1] =?Windows-1252?Q?
RE=3A_=
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://
To post a comment you must log in.
The bug is in HyperArch.py line 158. Check out the patch sourceforge. net/tracker/ index.php? func=detail& aid=449677& group_id= 103&atid= 100103
attached to bug report #449677 at
http://
-- 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!