From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gritsch@iue.tuwien.ac.at Newsgroups: gmane.emacs.devel Subject: RE: Editing exportet registry files Date: Fri, 1 Jul 2005 11:49:11 +0200 Message-ID: <1120211351.42c511974f00d@l01.iue.tuwien.ac.at> References: <3BD964BFBD32F743B1F738A249368ABD0181C888@nh2mail01.in.bosch.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1120213441 31741 80.91.229.2 (1 Jul 2005 10:24:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 10:24:01 +0000 (UTC) Cc: Miles Bader , emacs-devel@gnu.org, Stefan Monnier , Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 01 12:23:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DoIgR-0007hp-Ah for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2005 12:23:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoIor-0006cB-T4 for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2005 06:32:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DoIK8-0007LB-0m for emacs-devel@gnu.org; Fri, 01 Jul 2005 06:00:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DoIK2-0007IK-V3 for emacs-devel@gnu.org; Fri, 01 Jul 2005 06:00:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoIK0-000765-2j for emacs-devel@gnu.org; Fri, 01 Jul 2005 06:00:32 -0400 Original-Received: from [128.130.68.66] (helo=in4.iue.tuwien.ac.at) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DoIEM-0005lf-Jw for emacs-devel@gnu.org; Fri, 01 Jul 2005 05:54:43 -0400 Original-Received: from l01.iue.tuwien.ac.at (l01.iue.tuwien.ac.at [128.130.68.90]) by in4.iue.tuwien.ac.at (8.12.6/8.12.6/SuSE Linux 0.6) with ESMTP id j619nCPJ016211; Fri, 1 Jul 2005 11:49:12 +0200 Original-Received: by l01.iue.tuwien.ac.at (Postfix, from userid 30) id BF5F5BD8A6; Fri, 1 Jul 2005 11:49:11 +0200 (CEST) Original-Received: from firewall2.uklibk.ac.at (firewall2.uklibk.ac.at [193.171.69.65]) by l01.iue.tuwien.ac.at (IMP) with HTTP for ; Fri, 1 Jul 2005 11:49:11 +0200 Original-To: "Dhruva Krishnamurthy (RBIN/EDI3) *" In-Reply-To: <3BD964BFBD32F743B1F738A249368ABD0181C888@nh2mail01.in.bosch.com> User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 193.171.69.65 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40023 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40023 Thank you all very much for your help. With the given information and the Emacs ducumentation I have now added the following lines to my .emacs file, which makes editing exportet registry files less painfull: (setq file-coding-system-alist (append '(("\\.reg\\'" . utf-16le-with-signature)) file-coding-system-alist)) Kind regards, Markus Quoting "Dhruva Krishnamurthy (RBIN/EDI3) *" : > Hello, > > > Can you give me any advice how to achive this? When I load > > such a file it is > > displayed like in the attached screen shot. > > 1. Open the file in Emacs (normal file open). > 2. Use the following key strokes: C-x Ret r > 3. Type utf-16le at the prompt > 4. Accept the file reverting... > > You can then see a more meaningful file which you can edit like any > other file in Emacs. > > With best regards, > dk Quoting Juanma Barranquero : > On 7/1/05, gritsch@iue.tuwien.ac.at wrote: > > > Can you give me any advice how to achive this? > > Try > > C-x RET c utf-16-le RET > > (that's `universal-coding-system-argument'), then: > > C-x C-f yourfile RET > > and you should be able to edit the file. > > -- > /L/e/k/t/u ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.