Currently, I opened my gnome terminal and the default charset is gb2312.
How can set the default charset to utf8 in Gnome terminal?
I checked the preference setting but seemed not to find it.
Thanks for any help!
I found the answer buried in an Ubuntu forums thread (I'd asked a similar question here):
gconftool --set --type=string /apps/gnome-terminal/profiles/Default/encoding en_US.UTF-8
Simply right-click anywhere on the terminal and select Show Menubar and from the menu bar you select Terminal > Set Character Encoding > Unicode (UTF-8). At least this works using gnome-terminal 3.2.1.
locale
? I think you need to set the systems locale to an UTF-8 variant e.g en_US.UTF-8
in order to make it permanent. To list all enabled locales, run locale -a
. To enable a locale, uncomment it in /etc/locale.gen
and run locale-gen
to update the list.
en_US.UTF-8
but I'm still not getting UTF-8 encoding when I start gnome-terminal
.
Commented
Oct 16, 2013 at 16:37