Bug 463115 - Mailman displays corrupted characters in web archive interface
Summary: Mailman displays corrupted characters in web archive interface
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mailman
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Novotny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-21 21:54 UTC by Sergio Pascual
Modified: 2009-03-31 16:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-30 10:14:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sergio Pascual 2008-09-21 21:54:20 UTC
Archives for mailing lists created with mailman are created with iso-8859 charset instead of utf-8. As the messages are encoded in utf-8, some of the characters are displayed wrongly. This happens with mailman-2.1.9-10.fc9.i386

The template files in /usr/lib/mailman/templates are encoded in ISO-8859 instead of in utf-8

Comment 1 Daniel Novotny 2009-03-30 08:53:32 UTC
hello Sergio,

first, check your HTTP server configuration, if it doesn't impose default charset and does not override the "charset=" specifier in http response

see bottom of this page:
http://www.list.org/mailman-install/node10.html


if this doesn't help, try adding DEFAULT_CHARSET = 'utf-8'
into mm_cfg.py and then regenerate the archive using bin/arch --wipe

Comment 2 Sergio Pascual 2009-03-30 09:43:39 UTC
Hello David, thanks for the help. the information in mailman-install didi the trick.

Correct me if I'm wrong, buf it seems that http serves pages as utf-8 by default and mailman creates pages as iso-8859-1. So if we want a mailman install working out of the box, we have to add AddDefaultCharset Off to mailman.conf or change DEFAULT_CHARSET to utf8 in mailman to create utf8 pages.

Comment 3 Daniel Novotny 2009-03-30 10:14:08 UTC
OK, adding "AddDefaultCharset Off" to httpd-mailman.conf

fixed in mailman-2.1.12-2.fc11

Comment 4 Kevin Kofler 2009-03-31 16:05:47 UTC
Shouldn't DEFAULT_CHARSET be changed to utf8 instead of or in addition to this?


Note You need to log in before you can comment on or make changes to this bug.