[Mailman-Users] Weird characters in private archive

Mark Sapiro mark at msapiro.net
Thu Aug 30 02:51:55 CEST 2012


Birta Levente wrote:
>
>I use mailman 2.1.12 with centos 6.3.
>I have a list with romanian default language. If the archive is public I 
>have no problems, but if it's private, not shows the specific romanian 
>characters.
>Someone can help me out with this?


The archive consists of static pages in Mailman's
archives/private/LISTNAME/yyyy-Mmmmm/ directories. There is one page
per archived message with a name like nnnnnn.html where nnnnnn is the
archived message number. The actual message text in these pages for a
Romanian language list should be encoded in Mailman's character set
for Romanian which is iso-8859-2.

Are you saying that if you access a page from the same web browser via
a URL like http://www.example.com/pipermail/mylist/nnnn.html, it looks
as it should, but if you access the same page via
http://www.example.com/mailman/private/mylist/nnnn.html (you can do
this even if the archive is public), it doesn't display the Romanian
characters.

If that's what you are saying, I don't know why this would be except it
could have something to do with the web server adding a Content-Type:
header with an incompatible charset setting (as in Apache's
AddDefaultCharset setting).

If you are looking at different messages from the same or different
lists, try accessing the same message both ways as above. If you see a
difference when you do that, it has something to do with the way the
private CGI serves the page versus serving it as a static html file,
and we can investigate further. If you don't see a difference when you
do that, the issue is probably that different messages archived at
different times or for different lists had a different character set
in the archive files.

-- 
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 mailing list