[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: switching between locales (esp. iso-8859-1 and iso-8859-15)
From: |
Reiner Steib |
Subject: |
Re: switching between locales (esp. iso-8859-1 and iso-8859-15) |
Date: |
Thu, 10 Mar 2005 19:24:11 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
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/
Re: switching between locales (esp. iso-8859-1 and iso-8859-15), Kevin Rodgers, 2005/03/10