From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Input of XML documents (input of unicode) Date: Sun, 13 Oct 2002 07:49:59 +0200 (IST) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <5llm53eams.fsf@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1034488288 14901 127.0.0.1 (13 Oct 2002 05:51:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2002 05:51:28 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 180bex-0003s6-00 for ; Sun, 13 Oct 2002 07:51:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 180bdt-0001WR-00; Sun, 13 Oct 2002 01:50:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 180bdR-0000kD-00 for help-gnu-emacs@gnu.org; Sun, 13 Oct 2002 01:49:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 180bdO-0000hD-00 for help-gnu-emacs@gnu.org; Sun, 13 Oct 2002 01:49:53 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by monty-python.gnu.org with esmtp (Exim 4.10) id 180bdM-0000V2-00 for help-gnu-emacs@gnu.org; Sun, 13 Oct 2002 01:49:49 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id HAA11922 for ; Sun, 13 Oct 2002 07:49:59 +0200 (IST) X-Sender: eliz@is Original-To: help-gnu-emacs@gnu.org In-Reply-To: <5llm53eams.fsf@rum.cs.yale.edu> Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2542 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2542 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 RET > would insert the desired unicode char. It should, but 1721 isn't the octal code of the Greek theta in Unicode, either. > 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 RET should insert a Unicode character in the UTF-8 locale. Doesn't it?