[Mailman-Users] Mailman and utf8
Jan Kohnert
nospam001-lists at jankoh.dyndns.org
Thu Sep 8 15:29:49 CEST 2005
Mark Sapiro schrieb:
> Jan Kohnert wrote:
> >Is there a parameter to tell pipermail to use utf8 encoding for the web
> >archive? Or at least the encoding of the mail itself (although this would
> >obviously be more difficult to do...)?
>
> There is an LC_DESCRIPTIONS dictionary that has an entry for each
> Mailman supported language giving the language name and character set.
> Look at the end of Defaults.py.
>
> You can put something like
>
>
> def _(s):
> return s
> add_language('en', _('English (USA)'), 'utf-8')
> del _
So I added the lines:
def _(s):
return s
add_language('de', _('German'), 'iso-8859-15')
^^^^^^^^^^^
if I set utf-8 here, I get
horrible font problems, must
figure out, why...
del _
and also:
DEFAULT_CHARSET = 'utf-8'
to mm_cfg.py
but that didn't do the trick.
In the html-pages of the archive there is still the html-meta tag:
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
and so the content is not displayed correctly...
Best regards Jan
--
OpenPGP Public-Key Fingerprint:
0E9B 4052 C661 5018 93C3 4E46 651A 7A28 4028 FF7A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://mail.python.org/pipermail/mailman-users/attachments/20050908/6935c74c/attachment.pgp
More information about the Mailman-Users
mailing list