User Tools

Site Tools


tips:how-to-disable-utf-8-in-console

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:how-to-disable-utf-8-in-console [05.08.2012 22:52]
vergo
tips:how-to-disable-utf-8-in-console [07.08.2012 01:37]
vergo
Line 52: Line 52:
 </code> </code>
  
-===== Ubuntu 12.04 (and possibly Debian too) appendix =====+===== Ubuntu 12.04 (and possibly also Debian) appendix =====
  
 //(status as of 5.8.2012)//\\ //(status as of 5.8.2012)//\\
-A change done in January 2012 that was introduced in Ubuntu 12.04 causes the file //.pam_environment// to be created to the user home directory usually when logging in X. The content of that file is created from ///etc/default/locale// but .UTF-8 is forced after each entry even if the original didn't contain such. This results UTF-8 getting forced even if it has been disabled in ///etc/default/locale//. The easiest way to fix this is to edit (as root) ///usr/share/language-tools/save-to-pam-env/ and add the following before "exit 0" near the end of the file:+A change done in January 2012 that was introduced in Ubuntu 12.04 causes the file //.pam_environment// to be created to the user home directory usually when logging in X. The content of that file is created from ///etc/default/locale// but .UTF-8 is forced after each entry even if the original didn't contain such. This results UTF-8 getting forced even if it has been disabled in ///etc/default/locale//. The easiest way to fix this is to edit (as root) ///usr/share/language-tools/save-to-pam-env// and add the following before "exit 0" near the end of the file:
  
 <code> <code>
Line 62: Line 62:
  
 Log out and back in again. Now the //.pam_environment// shouldn't anymore contain traces of UTF-8. Log out and back in again. Now the //.pam_environment// shouldn't anymore contain traces of UTF-8.
 +
 +Bug report in Launchpad: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1033698
  
tips/how-to-disable-utf-8-in-console.txt ยท Last modified: 07.08.2012 01:37 by vergo