UnicodeEncodeError on German LanguageSetup

Bug #1507390 reported by Marcus Schopen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
moin (Ubuntu)
New
Medium
Unassigned

Bug Description

Hi,

I've installed the German language pages (all_pages) via LanguageSetup,
but get an error on RecentChanges "AktuelleÄnderungen"

UnicodeEncodeError: 'ascii' codec can't encode character u'\\xfc' in
position 7: ordinal not in range(128), referer ...

I've found this Bug:

https://moinmo.in/MoinMoinBugs/1.9%
20UmlautsForMacroNamesGivesAnInternalServerError

Any solution for this?

python-moinmoin 1.9.7-1ubuntu2 on Ubuntu 14.04.3 LTS

Ciao!

Robie Basak (racb)
Changed in moin (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Marcus Schopen (marcus-5) wrote :

Hi,

using WSGIDaemonProcess seting the 'lang' and 'locale' options will solve the problem:

WSGIDaemonProcess mywiki user=www-data group=www-data processes=5 threads=10 maximum-requests=1000 umask=0007 lang='de_DE.UTF-8' locale='de_DE.UTF-8'

System wide /etc/apache2/envvars
## Uncomment the following line to use the system default locale instead:
. /etc/default/locale

Ciao!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.