warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
01/11/2011 at 15:29 Leave a comment
Do you get this error when trying to autocomplete a command using TAB on Ubuntu 10.04?
Here is a quick solution for getting rid of this:
Edit /etc/default/locale and add the following line:
LC_ALL=”en_GB.UTF-8″
If you don’t want to reboot the server, then issue the following command:
export LC_ALL=”en_GB.UTF-8″
Advertisement
Entry filed under: Linux, Ubuntu. Tags: locale, Lucid, 10.04, Ubutu, bash, setlocale, problem.
Trackback this post | Subscribe to the comments via RSS Feed