[Mailman-Users] Wrong encoding
mark at msapiro.net
Sat Feb 7 00:55:51 CET 2015
On 02/06/2015 02:39 PM, Danil Smirnov wrote:
> You can change this for list-specific pages by selecting another
> language but not for common lists index page which is always in
> us-ascii encoding.
Only if DEFAULT_SERVER_LANGUAGE = 'en'. If you set
DEFAULT_SERVER_LANGUAGE = 'ru'
in mm_cfg.py the listinfo overview will be in Russian and in Mailman's
character set fo Russian.
> In this case I can only suggest quite ugly workaround: to add to
> <Mailman home>/Mailman/mm_cfg.py file this line and restart Mailman:
> add_language('en', 'English (USA)', 'koi8-r', 'ltr')
> This line will force Mailman to output all English pages including
> server list index page with KOI8-R encoding.
> It will be okay for English and Russian text both.
Do not do this. Just set DEFAULT_SERVER_LANGUAGE = 'ru' as I suggest above.
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users