[Moin-user] Problem with encoding URLS

ml at mherrn.de ml at mherrn.de
Mon Nov 30 09:33:49 EST 2015


Hi,

I have just moved my wiki to another server. Unfortunately, URLs with
special characters (for example german Umlauts) don't work anymore.

I have a page with the Name "Töst". It contains the german Umlaut "ö".
The encoded url looks like "https://mywiki.com/T%C3%B6st"
When trying to access this page the apache log tells me:

-----/-----
mod_wsgi (pid=31988): Exception occurred processing WSGI script
'/home/user/www/moin/moin.wsgi'.
Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 567, in
__call__
     cleaned_path = cleaned_path.encode(sys.getfilesystemencoding())
UnicodeEncodeError: 'ascii' codec can't encode character u'\\xf6' in
position 2: ordinal not in range(128)
-----/-----

What is going on here? Do I have a misconfiguration in moinmoin? Why is it
trying to encode it in ASCII?

Any help is appreciated.
Marco





More information about the Moin-user mailing list