Re: Unicode and emacs

Subject: Re: Unicode and emacs
From: "Christopher R. Maden" <crism@xxxxxxxxxx>
Date: Wed, 02 Aug 2000 15:16:17 -0700
At 13:53 2-08-2000 +0100, you wrote:
I'm using emacs+psgml.

XML files when imported, show non plain ascii chars
as (appearance of) \234  (but as a single character space).

Not ASCII, as another poster pointed out, but something else. Probably ISO 8859-1 (Latin 1).


I'm fairly used to non plain chars in their xyz entity form,
but how do I translate these into glyphs please? Or character
references I might understand as a human, not a machine.

You can't translate a character into a glyph; one is a concept, the other is a picture. You can, however, convince Emacs to display the glyph for the character by typing M-x standard-display-european if the document is in Latin 1. You can also use Mule, which comes with Emacs 20.6 (and maybe earlier), which can do some pretty impressive display tricks.


I can honestly say this is the first time I have frowned at
emacs :-)

Is it hex, decimal, <cringe>octal</cringe>.
I'm guessing its in the base plain, but I'm not sure enough
to do a M-$ on 'em.

Octal! And don't think you could easily search-and-replace on these guys; note by cursoring over it that \234 isn't four characters but one.


-Chris
--
Christopher R. Maden, Senior XML Analyst, Lexica LLC
222 Kearny St., Ste. 202, San Francisco, CA 94108-4510
+1.415.901.3631 tel./+1.415.477.3619 fax
<URL:http://www.lexica.net/> <URL:http://www.oreilly.com/%7Ecrism/>


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread