<<< Date Index >>>     <<< Thread Index >>>

Re: mutt can't display in xterm after upgrade gnome 2.6



Hi Alain and Aron,

Thanks very much for your reply.

at gnome-2.4, when login, select Simplified Chinese, the locale will be
set to "zh_CN.gbk", and it is all right.
  $ locale charmap
  GBK

  :set ?charset
  gbk

and now, at gnome-2.6, when select Simplified Chinese, the locale will
be set to "zh_CN"
  $ locale charmap
  GB2312

  :set ?charset
  GB2312

I don't know why gnome-2.6 will set "zh_CN" for Simplified Chinese
instead of "zh_CN.gbk" as gnome-2.4, may be it's a mistake.

So I decide put aside Gnome, and use Fluxbox instead. And just set
locale to "zh_CN.gbk" in .bash_profile.

It is all OK now.

To Aron, the attachment is the last 100 pkgs I have installed, maybe you
can find some pkgs with problem.

Regards,
Tony

On Wed, May 26, 2004 at 04:14:33PM +0200, Alain Bench wrote:
> From: Alain Bench <messtic@xxxxxxxxx>
> To: Mutt users ml <mutt-users@xxxxxxxx>
> Subject: Re: mutt can't display in xterm after upgrade gnome 2.6
> Date: Wed, 26 May 2004 16:14:33 +0200 (CEST)
> User-Agent: Mutt/1.4i-ja.1
> Mail-Followup-To: Mutt users ml <mutt-users@xxxxxxxx>
> 
> Hello Tony,
> 
>  On Tuesday, May 25, 2004 at 3:37:51 PM +0800, Tony Wang wrote:
> 
> > LANG=zh_CN
> > xterm -u8
> 
>     Type "locale charmap": Most probably zh_CN implicitly uses GB2312
> charset, incompatible with the UTF-8 of xterm. You'll have to export
> LANG=zh_CN.UTF-8. Verify also in Mutt ":set ?charset" which should be
> derived from the locale.
> 
> 
> > it is OK in Gnome-terminal and mlterm.
> 
>     If my above zh_CN.UTF-8 suggestion works, it will probably break
> this. Conditionaly exporting LANG depending on TERM would help.
> 
> 
> Bye!  Alain.
> -- 
> How to Report Bugs Effectively
> <URL:http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>