STINNER Victor added the comment: By the way, Java behaves as Python: with LANG=C, Java uses ASCII:
http://stackoverflow.com/questions/13415975/cant-read-utf-8-filenames-when-launched-as-an-upstart-service > udev and Upstart are not setting LANG So it's an issue in udev and Upstart. See for example: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1235483 https://bugs.launchpad.net/ubuntu-translations/+bug/1208272 I found examples using "LANG=$LANG ..." when running a command in Upstart for example. I found another example using: if [ -r /etc/default/locale ]; then . /etc/default/locale export LANG LANGUAGE elif [ -r /etc/environment ]; then . /etc/environment export LANG LANGUAGE fi ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19846> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com