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

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

Re: replacing characters and whacky trans-buffer conversion


From: ken
Subject: Re: replacing characters and whacky trans-buffer conversion
Date: Sat, 10 Mar 2007 13:29:33 -0500
User-agent: Thunderbird 2.0pre (X11/20070214)

On 03/09/2007 01:41 PM somebody named Reiner Steib wrote:
> On Fri, Mar 09 2007, Peter Dyballa wrote:
> 
>> You can easily open such a file in some MS Windows encoding, enter a
>> SPC, save in some ISO Latin, and remove the SPC (I think one change
>> is needed to make GNU Emacs save a file, because: what's the sense
>> in saving a safe file?). Don't forget to save again ...
> 
> At least in Emacs 22 you don't need to change the buffer:
> 
> C-x C-m r windows-1252 RET
> C-x C-m f new-coding RET
> C-x C-s
> 
> Bye, Reiner.

Thanks for these.  Is there a function which will tell me a buffer's
current encoding.  I found describe-coding-system, but when I tried it,
it listed dozens of-- maybe a hundred-- codings.

-- 
"Genius might be described as a supreme capacity for getting its
possessors into trouble of all kinds."
        -- Samuel Butler




reply via email to

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