summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
authorbwarsaw2002-11-13 17:51:46 +0000
committerbwarsaw2002-11-13 17:51:46 +0000
commit49db7e5222f8ad2e2590c0e9dc3fb2bb98bed6c8 (patch)
tree382633b1bdac0b467412e82a95fb9302add6d35e /Mailman/HTMLFormatter.py
parentaf6cb3e9ee6b7e06683709af0107283c1e9bd5d5 (diff)
downloadmailman-49db7e5222f8ad2e2590c0e9dc3fb2bb98bed6c8.tar.gz
mailman-49db7e5222f8ad2e2590c0e9dc3fb2bb98bed6c8.tar.zst
mailman-49db7e5222f8ad2e2590c0e9dc3fb2bb98bed6c8.zip
Martin v. Loewis's SF patch #634109 for better scrubbing of multipart
messages. Specifically, process(): Each part that we're scrubbing, we'll set the content type explicity to text/plain (since that's what it is now). We also record the character set of each part and if that's shared by all the subparts, we'll just use that. But, if we don't know the charset of any of the parts then we'll use the list's preferred language's charset. Then we'll make sure all the text/plain parts have the same character set, using 'replace' if necessary. (We may eventually want to utf-8-ify or html-entity-ify them in this case). Patch slightly modified by Barry for i18n and style.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions