Change gnome-terminal current locale ANSI_X3.4-1968 to UTF-8

Tags:  •    •    •    •  

When I upgraded my Ubuntu Linux from "Gutsy Gibbon" to "Hardy Heron" my gnome-terminal not shown some characters correctly anymore. I tried change the character encoding to UTF-8, but next time back again to ANSI_X3.4-1968. And I have found the solution.

Solution

Append two lines to /etc/environments file:

LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"

Reboot your system, and gnome terminal is work correctly.

Post new comment

The content of this field is kept private and will not be shown publicly.