UnicodeEncodeError on German LanguageSetup
Bug #1507390 reported by
Marcus Schopen
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Änderu
UnicodeEncodeError: 'ascii' codec can't encode character u'\\xfc' in
position 7: ordinal not in range(128), referer ...
I've found this Bug:
https:/
20UmlautsForMac
Any solution for this?
python-moinmoin 1.9.7-1ubuntu2 on Ubuntu 14.04.3 LTS
Ciao!
Changed in moin (Ubuntu): | |
importance: | Undecided → Medium |
To post a comment you must log in.
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!