From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: replacing characters and whacky trans-buffer conversion Date: Sat, 10 Mar 2007 13:29:33 -0500 Message-ID: <45F2F90D.4080505@speakeasy.net> References: <45ED8574.3040201@speakeasy.net> <45EF2512.9060200@speakeasy.net> <45EF28B8.2050905@speakeasy.net> <953CC6C7-14E6-4321-8899-665613380DC2@Web.DE> <45F133A6.8090308@speakeasy.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173551400 9367 80.91.229.12 (10 Mar 2007 18:30:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Mar 2007 18:30:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Reiner Steib Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 10 19:29:57 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HQ6KK-0000WW-Ju for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Mar 2007 19:29:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQ6Ki-0006QR-Uj for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Mar 2007 13:30:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HQ6KX-0006PC-4I for help-gnu-emacs@gnu.org; Sat, 10 Mar 2007 13:30:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HQ6KV-0006N6-H6 for help-gnu-emacs@gnu.org; Sat, 10 Mar 2007 13:30:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQ6KV-0006My-ET for help-gnu-emacs@gnu.org; Sat, 10 Mar 2007 13:30:07 -0500 Original-Received: from mail1.sea5.speakeasy.net ([69.17.117.3]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HQ6K2-00039k-EO for help-gnu-emacs@gnu.org; Sat, 10 Mar 2007 13:29:38 -0500 Original-Received: (qmail 4890 invoked from network); 10 Mar 2007 18:29:35 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO [192.168.0.27]) (gebser@[66.93.11.17]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 10 Mar 2007 18:29:35 -0000 User-Agent: Thunderbird 2.0pre (X11/20070214) In-Reply-To: X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41864 Archived-At: 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