Public bug reported: The modification done by 0010-set-language.patch (see LP: #866062) cause UTF-8 to be forced in ~/.pam_environment even if something else has been defined in /etc/default/locale.
Example: /etc/default/locale contains: LANG="en_US" After login from lightdm ~/.pam_environment contains: LANG=en_US.UTF-8 and that result in UTF-8 being forced to use for example in terminals. This problem can be traced to 0010-set-language.patch that introduces the function "user_locale_utf8_fix" that for some reason gets called every time variables are handled. As a result, it's not possible to have UTF-8 disabled. As a very crude hack, I've modified the /usr/share/language-tools/save- to-pam-env script to call sed and remove any UTF-8 string before the exit line. Version information: Xubuntu 12.04 accountsservice: Installed: 0.6.15-2ubuntu9.2 Candidate: 0.6.15-2ubuntu9.2 Version table: *** 0.6.15-2ubuntu9.2 0 500 http://fi.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.6.15-2ubuntu9.1 0 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 0.6.15-2ubuntu9 0 500 http://fi.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages ** Affects: accountsservice (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1033698 Title: 0010-set-language.patch forces UTF-8 into use in ~/.pam_environment To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1033698/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs