Bernd Petrovitsch wrote: > >The problem is that I enter text in the web-interface on a default UTF-8 >system and it is apparently stored as UTF-8. The pages are delivered as >ISO-8859-1 according to the HTTP header and the header in the file. >So the CGI scripts actually should convert correctly the ML-admins data >from the given charset into ISO-8859-1 (which is not 100% possible but >for German and in practice it will be good enough IMO). >The other solution is to use ö and brothers and blame the ML admin >if he doesn't do so (and put in somwhere into the docs or so). > >There is BTW a similar problem: If I enter " (quotes) in the web >interface, they are converted to " (probably by the browser - I >didn't check) and then sent out in a plain/text email. > >So in both cases I actually want to know what the way to go is.
As Brad points out in another reply, some of this problem is because all text entered in the web interface (except for General Options->info which is a special case) is HTML escaped to prevent XSS attacks. Mailman arguably goes overboard on this, but the 4 characters '&' '<' '>' and '"' are changed respectively to &, <, > and " by Python's cgi.escape() method. Thus, you can't even enter ö and have it work in HTML or plain text. You can convert Mailman to use utf-8 for German language, but this will not solve the html escaping issue. If you are interested in converting to utf-8, there is relevant information in the archives of this list. See the thread beginning at http://mail.python.org/pipermail/mailman-users/2005-September/046467.html and continued at http://mail.python.org/pipermail/mailman-users/2005-September/046480.html and the thread beginning at http://mail.python.org/pipermail/mailman-users/2005-October/046850.html and continued at http://mail.python.org/pipermail/mailman-users/2005-October/046883.html and http://mail.python.org/pipermail/mailman-users/2005-October/046938.html -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp