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) *" <[EMAIL PROTECTED]>: > 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 <[EMAIL PROTECTED]>: > On 7/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel