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

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

Re: emacs -nw and accented characters


From: Eli Zaretskii
Subject: Re: emacs -nw and accented characters
Date: 18 Jan 2004 09:32:18 +0200

> From: joelvsmith@earthlink.net (Joel Smith)
> Newsgroups: gnu.emacs.help
> Date: 17 Jan 2004 20:03:18 -0800
> 
> what does it mean to "set terminal-coding-system to match what the
> terminal expects?"

It means that the encoding of characters used by Emacs when writing to
the screen should be what aterm expects to see for Latin-1 characters.

What happens if you make a buffer with accented characters, save it
to a disk file with

     C-x RET f latin-1 RET
     C-x C-s

and then dump that file to the screen in an aterm session with

    cat myfile

(where myfile is the file to which you saved the accented characters)?
Do the characters display correctly then?

The above emulates what Emacs is supposed to do with terminal encoding
set to latin-1, as you reported for your case: it encodes each
non-ASCII character with its Latin-1 code, then sends that code to the
screen.





reply via email to

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