From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: displaying escaped unicode files Date: Tue, 12 Sep 2006 19:19:56 -0500 Organization: UseNetServer.com Message-ID: <570f4$45074d86$49f11e3$5323@DIALUPUSA.NET> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158108031 6557 80.91.229.2 (13 Sep 2006 00:40:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2006 00:40:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 13 02:40:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GNInk-00032n-PZ for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Sep 2006 02:40:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNInk-0003sm-BD for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 20:40:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!DIALUPUSA.NET!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 47 Original-X-Trace: 570f445074d86a13ab44605323 Original-Xref: shelby.stanford.edu gnu.emacs.help:141699 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37321 Archived-At: "Gulliver7" wrote in message news:mailman.6822.1158077825.9609.help-gnu-emacs@gnu.org... > > Hi. I'm using emacs as a text editor (I'm not a programmer), and need some > advice: > > I'm running emacs 21.3 in Windows, and need to read and edit some text files > with UTF-8 encoding and others with escaped unicode encoding. I've managed > to get emacs to display the UTF-8 files correctly, but not the escaped > unicode ones. The alphabet is Latin, but accented characters are not being > displayed properly in the escaped unicode files. What do I need to do to > get emacs to display the characters properly, regardless of whether I go > into a UTF-8 or an escaped unicode file? > > I have to say, I don't really understand what what the coding means -- all I > know is that I have these files to work with and want to use emacs to edit > them. I'd appreciate any help. > > Thank you > -- > View this message in context: http://www.nabble.com/displaying-escaped-unicode-files-tf2259865.html#a626 9354 > Sent from the Emacs - Help forum at Nabble.com. If escaped unicode is a sequence of hexadecimal tetrads like \x00c0 or \u00ce then David Love's ucs-tables.el could be used to convert them to the glyphs at the corresponding Unicode code points by reading each "word" or token in the file and then passing it to ucs-insert. You would then see the foreign language character as long as you had an appropriate font or font-set installed. I've heard that we have to wait for Emacs 23 before we see seamless Unicode support. Even version 22 (CVS) handles these characters better than the version I use (21.3). It's common to see escaped octal representations with version 22.0 probably because the unify on encoding and decoding aren't folding together the "same" characters produced using different input methods. Ed