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

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

Re: foreign characters


From: Oleksandr Gavenko
Subject: Re: foreign characters
Date: Sun, 13 May 2012 14:04:50 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

On 2012-05-08, prad wrote:

> "Pascal J. Bourguignon" <pjb@informatimago.com> writes:
>
>> prad <prad@towardsfreedom.com> 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!




reply via email to

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