From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: switching between locales (esp. iso-8859-1 and iso-8859-15)
Date: Thu, 10 Mar 2005 19:24:11 +0100 [thread overview]
Message-ID: <v9d5u7we9g.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: n6zmxbv2vs.fsf@ukri.tarvainen.info
On Thu, Mar 10 2005, Tapani Tarvainen wrote:
> In particular, I frequently have to deal with files in ISO-8859-1
> and ISO-8859-15 codings, and while emacs is perfectly able to
> display either correctly if it starts with the right foot, er,
> with correct locale, I can't figure out how to make it change
> its opinion of the encoding once it has opened the file.
`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.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2005-03-10 18:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 17:15 switching between locales (esp. iso-8859-1 and iso-8859-15) Tapani Tarvainen
2005-03-10 18:24 ` Reiner Steib [this message]
2005-03-11 4:25 ` Tapani Tarvainen
2005-03-11 17:41 ` Kevin Rodgers
2005-03-15 15:11 ` Tapani Tarvainen
2005-03-15 17:05 ` Kevin Rodgers
2005-03-15 20:36 ` Stefan Monnier
2005-03-10 18:34 ` Kevin Rodgers
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=v9d5u7we9g.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.