Am Thu, 12 Mar 2015 09:29:01 +0100 schrieb Tomas Pospisek: > /etc/locale.gen The solution was simple. While "dpkg-reconfigure locales" only allows the selection of one language. I thought that this should be the default. But instead all not selected entries are not possible. So the solution was to enable all languages I need to select in my code. After this, my sample works as expected. Thanks for your help.