From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: Re: foreign characters Date: Sun, 13 May 2012 14:04:50 +0300 Organization: At home. Message-ID: <87likw8hpp.fsf@desktop.home.int> References: <87aa1jfyuo.fsf@kuiper.lan.informatimago.com> <87pqaf8h7o.fsf@psinom.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1336907114 31967 80.91.229.3 (13 May 2012 11:05:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 May 2012 11:05:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 13 13:05:13 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 1STWbw-0007DR-QH for geh-help-gnu-emacs@m.gmane.org; Sun, 13 May 2012 13:05:12 +0200 Original-Received: from localhost ([::1]:60150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STWbv-0005N6-T1 for geh-help-gnu-emacs@m.gmane.org; Sun, 13 May 2012 07:05:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STWbq-0005L9-7R for help-gnu-emacs@gnu.org; Sun, 13 May 2012 07:05:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1STWbn-000682-Fs for help-gnu-emacs@gnu.org; Sun, 13 May 2012 07:05:05 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STWbn-00067m-93 for help-gnu-emacs@gnu.org; Sun, 13 May 2012 07:05:03 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1STWbl-000741-E8 for help-gnu-emacs@gnu.org; Sun, 13 May 2012 13:05:01 +0200 Original-Received: from 46.185.23.169 ([46.185.23.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 May 2012 13:05:01 +0200 Original-Received: from gavenkoa by 46.185.23.169 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 May 2012 13:05:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 46.185.23.169 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:gnJblKnp125qXiZjHEgla504ibg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:84812 Archived-At: On 2012-05-08, prad wrote: > "Pascal J. Bourguignon" writes: > >> 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). >> > thx for all this pascal! i didn't know about any of this stuff. > thx to you too peter because i tried some of the encoding you'd sent as > well as what's above. > > so i'm in much better shape now and am understanding this area more than > i did before. Don't forget C-x RET C-r (for reread file with different coding system) and M-x recode-region. -- Best regards!