bug 1283: remove double encoding

The locales are already encoded in the Database.
Merge branch 'bug-1283' into testserver-stable