help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

change input coding


From: Uwe Mayer
Subject: change input coding
Date: Mon, 11 Apr 2005 08:32:31 +0200
User-agent: KNode/0.8.2

Hi,

I have an xml file in utf-16-be format which I want to edit in emacs.
Unfortunately it does not start with a 

<!-- -*- coding: utf-16-be -*- -->

so that emacs would decode and display it properly (which I'd hope).
Currently it looks somewhat like:

^@<address@hidden@address@hidden@address@hidden ...
for
<logEn ...

I know that it is utf-16-be as I can decode it with Python. How can I load a
utf-16-be file in emacs such that it is displayed propperly?
The set-buffer-file-coding-system only changes the current coding which
doesn't get rid of the ^@ (which are actually 0x00 characters).

Thanks,
Ciao
Uwe     


reply via email to

[Prev in Thread] Current Thread [Next in Thread]