From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: change input coding
Date: Mon, 11 Apr 2005 13:37:43 +0200 [thread overview]
Message-ID: <v9br8l7ddk.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: d3d5lv$i8n$1@news2.rz.uni-karlsruhe.de
On Mon, Apr 11 2005, Uwe Mayer <merkosh@hadiko.de> wrote:
> 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).
[ C&P from <news:v9d5u7we9g.fsf@marauder.physik.uni-ulm.de> ... ]
`C-x RET c NEWCODING-SYSTEM RET C-x C-v RET'
Emacs 22 will have a more simple command for this task:
,----[ `C-h k C-x RET r' ]
| C-x RET r runs the command revert-buffer-with-coding-system
| which is an interactive compiled Lisp function in `international/mule'.
| It is bound to C-x RET r, <menu-bar> <options> <mule>
| <set-various-coding-system> <revert-buffer-with-coding-system>.
| (revert-buffer-with-coding-system CODING-SYSTEM &optional FORCE)
|
| Visit the current buffer's file again using coding system CODING-SYSTEM.
| For a list of possible values of CODING-SYSTEM, use M-x list-coding-systems.
`----
[ ... end of C&P ]
`file-coding-system-alist' might also be an option.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2005-04-11 11:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-11 6:32 change input coding Uwe Mayer
2005-04-11 9:05 ` Peter Dyballa
2005-04-11 11:37 ` Reiner Steib [this message]
[not found] ` <mailman.1037.1113208992.2895.help-gnu-emacs@gnu.org>
2005-04-11 12:34 ` Sébastien Kirche
2005-04-11 13:06 ` Peter Dyballa
2005-04-11 20:07 ` Eli Zaretskii
[not found] ` <mailman.1059.1113223178.2895.help-gnu-emacs@gnu.org>
2005-04-11 13:48 ` Sébastien Kirche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9br8l7ddk.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+from-uce@imap.cc \
--cc=Reiner.Steib@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.