There is a much wider issue caused by the generated "~/.kde/env/setlocale.sh" script; it can somehow get 'stuck' on an incorrect encoding which can't be subsequently fixed via the GUI.
I have a system with: cat /etc/default/locale LANG="en_GB.UTF-8" Prior to generation of "setlocale.sh" Konsole sessions would use this correctly. At some point I used the KDE GUI to check the locales and decided to remove the "American English" language leaving just "British English". It seems that this caused the generation of the "setlocale.sh" script but I didn't realise until sometime later when working in a Konsole various tools reported "setlocale.sh: No such file or directory". dpkg-query -S setlocale.sh did not return any hits so I knew it wasn't a file shipped with a package but must be generated at some point. "locale" reported everything set to "en_GB.ISO8859-1" and no matter what I did using the GUI Language settings or the system configuration (/etc/default/locale) I couldn't figure out what was controlling it. Finally, after exhaustively searching the system locations where locales are set, I tried searching the user home directory which revealed the existence of this shell script: grep -r 'ISO8859-1' ~/.* ./kde/env/setlocale.sh: LANG="en_GB.ISO8859-1" ./kde/env/setlocale.sh: LANGUAGE:"en_GB:en" ** Summary changed: - Locale wrongly defaults to en_US.UTF8 + setlocale.sh can break user-chosen locales and encodings ** Changed in: kde-workspace (Ubuntu) Importance: Undecided => Medium ** Also affects: kde-runtime (Ubuntu) Importance: Undecided Status: New ** Changed in: kde-runtime (Ubuntu) Importance: Undecided => Medium ** Changed in: kde-runtime (Ubuntu) Status: New => Confirmed ** Changed in: kde-workspace (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1204182 Title: setlocale.sh can break user-chosen locales and encodings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kde-runtime/+bug/1204182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs