From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gulliver7 Newsgroups: gmane.emacs.help Subject: Re: displaying escaped unicode files Date: Tue, 12 Sep 2006 19:58:00 -0700 (PDT) Message-ID: <6278180.post@talk.nabble.com> References: <6269354.post@talk.nabble.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158116299 23937 80.91.229.2 (13 Sep 2006 02:58:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2006 02:58:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 13 04:58:19 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 1GNKx6-0001Nu-7p for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Sep 2006 04:58:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNKx5-0000kI-F2 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 22:58:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNKwt-0000k3-TS for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 22:58:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNKws-0000jr-At for Help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 22:58:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNKws-0000jo-5V for Help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 22:58:02 -0400 Original-Received: from [72.21.53.35] (helo=talk.nabble.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GNKyU-0007Ve-S2 for Help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 22:59:43 -0400 Original-Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GNKwq-00025C-6q for Help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 19:58:00 -0700 Original-To: Help-gnu-emacs@gnu.org In-Reply-To: X-Nabble-From: rpontisso@yahoo.co.uk 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:37322 Archived-At: Kevin Rodgers wrote: > > Gulliver7 wrote: >> 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? > > What is an "escaped unicode" file? Can you attach a small sample file > to your reply? > According to the folks at Mozilla, Escaped Unicode Encoding uses the unicode representation \uXXXX. I've attached a small file with characters encoded in this way. It includes three "special" characters: a "u" with a circumflex, an "a" with a circumflex, and a "c" with a cedilla. I can't get emacs to read them properly: they appear, respectively, as: "\u00FB", "\u00E2", "\u00E7" If you can get emacs to read the file properly, please let me know how you did it. Thanks http://www.nabble.com/user-files/235986/escapedunicode.properties escapedunicode.properties -- View this message in context: http://www.nabble.com/displaying-escaped-unicode-files-tf2259865.html#a6278180 Sent from the Emacs - Help forum at Nabble.com.