[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs -nw and accented characters
From: |
Joel Smith |
Subject: |
Re: emacs -nw and accented characters |
Date: |
18 Jan 2004 06:56:47 -0800 |
Eli Zaretskii <eliz@elta.co.il> wrote in message
news:<mailman.850.1074411076.928.help-gnu-emacs@gnu.org>...
> > 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.
I created two files. The first with accented characters saved using
the latin-1 coding system. the other with the same text but under the
default, utf-8.
results--
aterm - accented characters appear appear garbled in emacs. text
saved in latin-1 appears ok when displayed in aterm with cat. text
saved in utf-8 is garbled when displayed in aterm with cat.
using these files i looked at them in xterm. each appear fine in
emacs -nw, but only the utf-8 file appears fine with cat.
- emacs -nw and accented characters, Joel Smith, 2004/01/17
- Re: emacs -nw and accented characters, Joel Smith, 2004/01/17
- Re: emacs -nw and accented characters, Jason Rumney, 2004/01/17
- Re: emacs -nw and accented characters, Jesper Harder, 2004/01/17
- Re: emacs -nw and accented characters, Joel Smith, 2004/01/17
- Re: emacs -nw and accented characters, Eli Zaretskii, 2004/01/18
- Message not available
- Re: emacs -nw and accented characters,
Joel Smith <=
- Re: emacs -nw and accented characters, Eli Zaretskii, 2004/01/18
- Message not available
- Re: emacs -nw and accented characters, Joel Smith, 2004/01/20
- Re: emacs -nw and accented characters, Eli Zaretskii, 2004/01/20
Re: emacs -nw and accented characters, Stefan Monnier, 2004/01/20
Re: emacs -nw and accented characters, Joel Smith, 2004/01/20
Re: emacs -nw and accented characters, Joel Smith, 2004/01/31