[Python-modules-team] Bug#816730: UnicodeEncodeError: 'ascii' codec can't encode character u'\\xc4' in German MoinMoin wiki
Adi Kriegisch
adi at kriegisch.at
Thu Apr 21 09:25:44 UTC 2016
Hi!
Thanks for providing a patch/workaround for the issue; I also found an
upstream bug report with some suggestions:
https://moinmo.in/MoinMoinBugs/1.9.8NonAsciiURL-UnicodeEncodeError
I think the main issue is that sys.getfilesystemencoding() returns 'utf-8'
in interactive use while it does not when running inside apache. Neither
setting a default encoding nor providing a WSGIDaemonProcess config as
suggested upstream changed that for me.
-- Adi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160421/74dcfa0b/attachment.sig>
More information about the Python-modules-team
mailing list