diff options
| author | bwarsaw | 2002-10-02 14:01:55 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-10-02 14:01:55 +0000 |
| commit | 341386bbfb78fb23d09cfbc280b32d14a80e32e3 (patch) | |
| tree | e91faad3e15b95fd988d74fa51fac1706941bca6 /Mailman/Cgi/admin.py | |
| parent | 6b457c295f03acbd4df4a2f730ca94601936467e (diff) | |
| download | mailman-341386bbfb78fb23d09cfbc280b32d14a80e32e3.tar.gz mailman-341386bbfb78fb23d09cfbc280b32d14a80e32e3.tar.zst mailman-341386bbfb78fb23d09cfbc280b32d14a80e32e3.zip | |
Better support for "funny" characters in subject prefixes.
encode_p(): Removed.
_isunicode(): Helper for unicode type testing.
prefix_subject(): Better algorithm for handling unicode subject
prefixes. Now we always set the Subject header to a Header instance
if we're adding the prefix. Always convert the prefix and all
previous Subject header bits to unicode (possibly with character
replacements) so that the Header class does the right thing, i.e. does
the us-ascii, charset hint, utf-8 encoding. Because of this, if the
list's charset is us-ascii, we'll substitute iso-8859-1 for a slightly
wider character coverage.
Diffstat (limited to 'Mailman/Cgi/admin.py')
0 files changed, 0 insertions, 0 deletions
