From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier " Newsgroups: gmane.emacs.help Subject: Re: Input of XML documents (input of unicode) Date: 12 Oct 2002 15:10:35 -0400 Organization: Yale University Sender: help-gnu-emacs-admin@gnu.org Message-ID: <5llm53eams.fsf@rum.cs.yale.edu> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034450589 25903 127.0.0.1 (12 Oct 2002 19:23:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 12 Oct 2002 19:23:09 +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 180Rqp-0006jD-00 for ; Sat, 12 Oct 2002 21:23:03 +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 180Rp3-0005AO-00; Sat, 12 Oct 2002 15:21:13 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!news.ycc.yale.edu!rum.cs.yale.edu!rum.cs.yale.edu Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: rum.cs.yale.edu User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Original-NNTP-Posting-Host: rum.cs.yale.edu X-Original-Trace: 12 Oct 2002 15:10:37 -0400, rum.cs.yale.edu Original-Xref: shelby.stanford.edu gnu.emacs.help:105981 Original-To: help-gnu-emacs@gnu.org 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:2528 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2528 >> 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. 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. Also, it would be neat to be able to say C-q x89 RET when you prefer hex input (of course you can also set read-quoted-char-radix). Stefan