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: , , , , , , .

debian-sa1 fails after update 80.000

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


 

November 2011
M T W T F S S
« Jul   Dec »
 123456
78910111213
14151617181920
21222324252627
282930  

Follow

Get every new post delivered to your Inbox.

Join 31 other followers