summaryrefslogtreecommitdiff
path: root/Mailman/Gui/Language.py
diff options
context:
space:
mode:
authorbwarsaw2002-08-09 23:40:24 +0000
committerbwarsaw2002-08-09 23:40:24 +0000
commit2b21fdcc0d6747304f884267de50f1b68af32194 (patch)
treebac120717b8ee2b847100d6c494209593b69644d /Mailman/Gui/Language.py
parent00d52841c907ece87f384a061a78fdf561dd813f (diff)
downloadmailman-2b21fdcc0d6747304f884267de50f1b68af32194.tar.gz
mailman-2b21fdcc0d6747304f884267de50f1b68af32194.tar.zst
mailman-2b21fdcc0d6747304f884267de50f1b68af32194.zip
Diffstat (limited to 'Mailman/Gui/Language.py')
-rw-r--r--Mailman/Gui/Language.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/Mailman/Gui/Language.py b/Mailman/Gui/Language.py
index 00fff1470..c2c50d8aa 100644
--- a/Mailman/Gui/Language.py
+++ b/Mailman/Gui/Language.py
@@ -73,6 +73,31 @@ class Language(GUIBase):
<a href="?VARHELP=language/preferred_language">default
language</a> must be included.''')),
+ ('encode_ascii_prefixes', mm_cfg.Radio,
+ (_('Never'), _('Always'), _('As needed')), 0,
+ _("""Encode the
+ <a href="?VARHELP=general/subject_prefix">subject
+ prefix</a> even when it consists of only ASCII characters?"""),
+
+ _("""If your mailing list's default language uses a non-ASCII
+ character set and the prefix contains non-ASCII characters, the
+ prefix will always be encoded according to the relevant
+ standards. However, if your prefix contains only ASCII
+ characters, you may want to set this option to <em>Never</em> to
+ disable prefix encoding. This can make the subject headers
+ slightly more readable for users with mail readers that don't
+ properly handle non-ASCII encodings.
+
+ <p>Note however, that if your mailing list receives both encoded
+ and unencoded subject headers, you might want to choose <em>As
+ needed</em>. Using this setting, Mailman will not encode ASCII
+ prefixes when the rest of the header contains only ASCII
+ characters, but if the original header contains non-ASCII
+ characters, it will encode the prefix. This avoids an ambiguity
+ in the standards which could cause some mail readers to display
+ extra, or missing spaces between the prefix and the original
+ header.""")),
+
]
def _setValue(self, mlist, property, val, doc):