help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: chinese display in terminal -revised


From: Peter Dyballa
Subject: Re: chinese display in terminal -revised
Date: Wed, 11 Jun 2008 10:57:30 +0200


Am 11.06.2008 um 04:19 schrieb ssszer:

    I use ssh log in remote host. The terminal can display chinese
well. Vi can also display chinese.

Is vi running locally or on the remote host? Is it real vi or is it vim? Vim can do tricks with the terminal and set it in the right mode to display non-US ASCII.

emacs does display them with ?? in multibyte.
I just have to improvise, by using
$emacs --unibyte


Can you also try

        emacs --no-init-file --no-site-file

It's possible that the init files on the remote host are not OK or prepared for your Chinese dialect.

You could also invoke

        locale -a | egrep -i 'zh|cn'

to find which Chinese support the remote host offers. Next you should check (and then set) the *local* fonts and their encodings as offered by your local host, on which the terminal runs and which resources it uses. The adjust the locale and the font's encodings that they do match ... otherwise you'll have problems.


GNU Emacs 21.3 is a bit old. Did you try 'C-h H' ?


Did you think of installing an up-to-date GNU Emacs 22.2 as an X client on your local PC and using TRAMP to connect to the remote host?

--
Greetings

  Pete

Bake pizza not war!







reply via email to

[Prev in Thread] Current Thread [Next in Thread]