Teemu,
While I think you are right about the Ubuntu UIs generally don't support
non-UTF-8 locales, it seems not to be because of the user_locale_utf8_fix()
function in 0010-set-language.patch. user_locale_utf8_fix() does not convert
UTF-8 locale names to non-UTF-8 names; it just replaces .utf8 with .UTF-8 to
not reintroduce bug 666565.
Personally I think that in order to make Ubuntu support non-UTF-8
locales would need rather extensive changes in a bunch of packages. If
that's what you want, discussing it on e.g. ubuntu-devel-discuss is
probably a good idea.
** Changed in: accountsservice (Ubuntu)
Status: Fix Committed => New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/1033698
Title:
0010-set-language.patch forces UTF-8 into use in ~/.pam_environment
Status in “accountsservice” package in Ubuntu:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1033698/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp