
Hi!
I have a problem with the mailman web interface output. I use the hungarian translation, which should be generated as an ISO-8859-2 html file, but it generates an UTF-8 output. I have checked the text files which are related to the web output and they are all in ISO-8859-2. It seems to me like mailman would read the files in ISO-8859-2, and after that it converts it to UTF-8 and generates the html output.
This is the add language row of my /usr/lib/mailman/Mailman/Defaults.py file. add_language('hu', _('Hungarian'), 'iso-8859-2')
Default language in the /etc/mailman/mm_cfg.py file is: DEFAULT_SERVER_LANGUAGE = 'hu'
In the html output the charset is ok: <META http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
Apache header is also ISO-8859-2.
So the browser reads it as ISO-8859-2 text, but it is UTF-8 text so it is unreadable. If I temporary chanage the charset in firefox to utf-8 it appears correct.
It is an ubuntu dapper with mailman version 2.1.5-9ubuntu4.1.
Thanks for the help.
Viktor

Pál Viktor writes:
I have a problem with the mailman web interface output. I use the hungarian translation, which should be generated as an ISO-8859-2 html file, but it generates an UTF-8 output. I have checked the text files which are related to the web output and they are all in ISO-8859-2.
I seem to recall that this is a known bug, and I believe it was fixed after Mailman 2.1.5. You should see if there is a more recent version of mailman packaged by Ubuntu. The fix may be fairly recent, and there are known security problems fixed in each revision. You should get the most recent version available, currently 2.1.9.
participants (2)
-
Pál Viktor
-
Stephen J. Turnbull