On November 2, 2002 at 2:01PM +0100,
Vincent Lefevre <[EMAIL PROTECTED]> wrote:

> >     (set-terminal-coding-system 'utf-8))))

> But even when the terminal coding system is correctly set, Emacs
> still uses the ISO-8859-1 encoding for a UTF-8 input, e.g. I get
> é instead of é. Emacs should either convert the UTF-8 sequence
> to ISO-8859-1 or set the encoding of the file to UTF-8.

I guessed that you are using (set-terminal-coding-system 'utf-8)
on the ISO-8859-1 termianl.  You should set
terminal-coding-system appropriately.

On the ISO-8859-1 terminal, if (terminal-coding-system) is
iso-latin-1, Emacs can display UTF-8 files.  (`é' in UTF-8 can
be displayed.  However, a Japanese Kanji is converted to `?',
because it is not available in ISO-8859-1.)

-- 
Tatsuya Kinoshita


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to