From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.help Subject: Re: Input of XML documents (input of unicode) Date: Fri, 11 Oct 2002 20:59:19 +0000 (UTC) Organization: BT Openworld Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034370079 14138 127.0.0.1 (11 Oct 2002 21:01:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2002 21:01:19 +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 1806uM-0003fu-00 for ; Fri, 11 Oct 2002 23:01:18 +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 1806uO-0005hu-00; Fri, 11 Oct 2002 17:01:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!btnet-peer1!btnet-feed5!btnet!news.btopenworld.com!nyaumo.btinternet.com!nobody Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: host213-122-247-98.in-addr.btopenworld.com Original-X-Trace: venus.btinternet.com 1034369959 23693 213.122.247.98 (11 Oct 2002 20:59:19 GMT) Original-X-Complaints-To: news-complaints@lists.btinternet.com Original-NNTP-Posting-Date: Fri, 11 Oct 2002 20:59:19 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:105945 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:2492 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2492 Torsten Bronger writes: > 1. How can I input an arbitrary Unicode Character? > I open a file in UTF-8 encode, and inout C-g [C-q?] > and an octal unicode number, but always the message: > "invalid character". 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. Note that this will only work for arbitrary Unicode characters where arbritary is the subset of Unicode that Emacs supports. > 2. What is the most convenient way to install the XML > mode in Emacs? It isn't part of the standard > installation. (A pity.) sgml-mode is part of the standard installation, but I assume you mean psgml (which is difficult to set up, and dependent on external tools, but well worth it if you do a lot of SGML or XML editing).