From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.help Subject: Re: foreign characters Date: Mon, 07 May 2012 23:46:55 +0200 Organization: Informatimago Message-ID: <87aa1jfyuo.fsf@kuiper.lan.informatimago.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1336427424 19109 80.91.229.3 (7 May 2012 21:50:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 May 2012 21:50:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 07 23:50:23 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SRVp1-0005d8-3y for geh-help-gnu-emacs@m.gmane.org; Mon, 07 May 2012 23:50:23 +0200 Original-Received: from localhost ([::1]:48063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRVp0-0007mj-IO for geh-help-gnu-emacs@m.gmane.org; Mon, 07 May 2012 17:50:22 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net Xi2AyfsaDTvmL1WSHSdtjg143r5gczeRjEsTSdmtfQHyOjZKPEran1sKtAmGeigtqB Cancel-Lock: sha1:YWFhNTE4ODBiOTVmNzhmMzM0OTQ3OTU4YWE5ZDJmMmIxMjY0ZmI2Nw== sha1:H6cpUyGta0KUaiU/HjkK9hePw48= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:192354 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84763 Archived-At: prad writes: > what can i do to have emacs substitute the correct letter representation > instead of looking at \351? 1- ask the remote to send you UTF-8. It's the de-facto norm. 2.1- save the file as raw-text: C-x RET c raw-text reT C-x C-w file.txt RET 2.2- kill the buffer. C-x k 2.3- open the file in the right encoding: C-x RET c RIGHT-ENCODING C-x C-f file.txt RET Now the problem of course is to know what's the right encoding! :-) There are a lot of encodings where \351 <-> é. But you may try iso-8859-1 to start with. (That said they don't use iso-8859-1 on MS-Windows). -- __Pascal Bourguignon__ http://www.informatimago.com/ A bad day in () is better than a good day in {}.