[Top][All Lists]

[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: Sun, 13 Oct 2002 07:49:59 +0200 (IST)

On 12 Oct 2002, Stefan Monnier <> wrote:

> >> 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:
> Maybe this behavior of C-q is actually not desirable.
> After all, who remembers Emacs' internal code for particular chars ?
> Also in a latin-1 locale C-q 240 RET inserts a latin-1 0240
> which is 04240 in Emacs' internal encoding, so I'd expect in
> a utf-8 environment that C-q <octal-code-of-a-unicode-char> RET
> would insert the desired unicode char.

It should, but 1721 isn't the octal code of the Greek theta in Unicode, 

> Of course, I know where C-q's current behavior comes from and that
> C-q doesn't really do the 0240 -> 04240 conversion itself (and that
> it is not done according to the keyboard-coding-system), but maybe
> it would make sense to change that.

C-q <utf-8-code-of-a-unicode-character> RET should insert a Unicode 
character in the UTF-8 locale.  Doesn't it?

reply via email to

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