I cannot get gnome-terminal work with Chinese.

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Tue Apr 16 08:22:59 UTC 2013


My mistake. The encoding of gnome-terminal was changed somehow....


On Tue, Apr 16, 2013 at 1:40 PM, Magicloud Magiclouds <
magicloud.magiclouds at gmail.com> wrote:

> Hi,
>   I am using Precise. I set LC_ALL and LANG to zh_CN.UTF-8 in
> /etc/default/locale and /etc/environment.
>   Login to tty1, `locale` gives correct result. But in xwindow,
> gnome-terminal, `locale` returns everything in POSIX, except LANG and
> LANGUAGE are empty.
>   Then I exported these envs in .bashrc, it was OK with `locale`. But utf8
> Chinese still shown messy. For example in `ls` and `mutt`.
>   I used myunity to set all fonts to Chinese font and gnome-terminal is
> using system font.
>   I installed urxvt, which ended up the same situation.
>   All other GUI tools like gedit, chromium work fine.
>
>   Please help.
> --
> 竹密岂妨流水过
> 山高哪阻野云飞
>
> And for G+, please use magiclouds#gmail.com.
>



-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130416/ecd034de/attachment.html>


More information about the ubuntu-users mailing list