[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Input of XML documents (input of unicode)
From: |
Eli Zaretskii |
Subject: |
Re: Input of XML documents (input of unicode) |
Date: |
Sat, 12 Oct 2002 10:35:02 +0300 |
> From: Torsten Bronger <bronger@physik.rwth-aachen.de>
> Newsgroups: gnu.emacs.help
> Date: Sat, 12 Oct 2002 01:49:14 +0200
>
> > Generally, opening files in a certain encoding does not change your
> > keyboard layout. So to tell Emacs that keyboard input is in UTF-8,
> > you should use set-keyboard-coding-system. I have not tried this
> > myself, so there may be other limitations that prevent this from
> > working.
>
> Unfortunately they do. I see the Greek theta, because it was
> in the file before I opened it, but when I do what you suggest
> and type C-q 1 7 2 1: 'Invalid Character'.
1721 is not the code of the Greek theta in the Emacs encoding, that's
why it fails. Try this instead:
M-: (insert (decode-char 'ucs #x3b8)) RET
Please read the entry in the file etc/PROBLEMS named "Problems when
using Emacs with UTF-8 locales", perhaps the advice there will help
you.
> Why is my keyboard layout important here?
Because Emacs should know how to interpret each code sent by your
keyboard. If there's a mismatch between what the keyboard sends and
what Emacs knows about that, you will get gibberish in your buffer.
Re: Input of XML documents (input of unicode), Charles Muller, 2002/10/11
Re: Input of XML documents (input of unicode), Jesper Harder, 2002/10/11