summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbwarsaw2002-12-24 03:01:33 +0000
committerbwarsaw2002-12-24 03:01:33 +0000
commit4616e826ade7dba7eafa7e61bb5fa387d722335c (patch)
treedfb041d1fb6fc7dcd30a71909befc249975833ad /src
parente65556967c171bd6d239b425aff74f0624e509c9 (diff)
downloadmailman-4616e826ade7dba7eafa7e61bb5fa387d722335c.tar.gz
mailman-4616e826ade7dba7eafa7e61bb5fa387d722335c.tar.zst
mailman-4616e826ade7dba7eafa7e61bb5fa387d722335c.zip
Martin's patch #655214 to fix multi-charset archiving. He says:
This patch restores MIME charset capabilities for article archiving in CVS Mailman. It: - removes the .charset attribute from articles; all yarticles are encoded in the list's charset, - decodes subject and author to Unicode; if this fails, no decoding (not even MIME) is done to subject and author, - MIME-decodes the body in the constructor using get_payload, removes the hand-crafted qp decoding from _get_body, - Unicode-decodes the body in the constructor if the body's charset differs from the list's charset, - fixes processbody_URLquote to always return byte strings (by escaping the URL also); comparing the old and the new string is no longer possible since the old string is Unicode and the new string is a list-encoded byte string. - changes text archiving to have the archives in the list's encoding, with unsupported characters 'replace'd With these changes, I can process the playground archives correctly, to get mojibake-free pages.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions