[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't enter Chinese in crxvt



--- Min Xu <mxu@cae.wisc.edu> wrote:
> On Thu, Dec 12, 2002 at 12:57:03PM -0800, Andre Chang wrote:
> > I'm using crxvt and xcin under woody.
> > I can vim files and input Chinese, and I can more/cat/less these files and
> > the text shows up fine.  But if I try to input Chinese at a shell prompt
> > (tcsh) in crxvt, I only get the ASCII equivalent of the two bytes that
> > represent the Chinese.
> > 
> > My .inputrc is:
> > > set meta-flag on
> > > set convert-meta off
> > > set output-meta on
> > 
> > and my .cshrc contains:
> > > stty cs8 -istrip
> > > stty pass8
> > > setenv LANG C
> 
> maybe you should use zh_CN instead of C here?

I can't actually read much Chinese, so I don't want my environment to be
completely Chinese.  I'm just trying to learn by writing emails with my
cousins so I want to be able to write emails and search through ones that
I've already written using grep.

> > > setenv LC_CTYPE zh_TW.Big5
> > > setenv XMODIFIERS @im=xcin
> > 
> > Everything worked when I was using potato, and I am using the same .inputrc
> > and .cshrc as before, so I don't think that these are the problem.
> > 
> > Also, to get mutt to display Chinese under woody, I had to add to my
> .muttrc:
> > > set charset=big5
> > > set send_charset=us-ascii:iso-8859-1:big5:gb2312:utf-8
> > 
> > I didn't have to do this in my potato installation, so maybe this is a hint
> > to what is wrong with my current configuration?
> > 
> > Andre
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> > 
> > -- 
> > | This message was re-posted from debian-chinese-big5@lists.debian.org
> > | and converted from big5 to gb2312 by an automatic gateway.
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> > 
> 
> -- 
> 102. One can't proceed from the informal to the formal by formal means.
>   -- Alan Perlis in "Epigrams on programming"


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



Reply to: