emacs-devel
[Top][All Lists]
Advanced

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

Re: converting between charsets


From: Alexander Kotelnikov
Subject: Re: converting between charsets
Date: Mon, 15 May 2006 09:55:10 +0400
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

>>>>> On Sun, 14 May 2006 20:37:21 -0400
>>>>> "SM" == Stefan Monnier <address@hidden> wrote:
SM> 
SM> Than show us how and when you call encode-coding-region.
SM> I.e. repeat the above but in elisp rather than english.
SM> Assume you're explining it to a complete idiot.
SM> 
SM> Please take seriously the bit about the idiot.
SM> 
>> For example.
>> 1. (find-file "/tmp/test.txt")
SM> 
SM> How did you start Emacs?

For example 'emacs -q', even if do not suppress reading my ~/.emacs
the result is the same.

>> 2. enter some text in Russian (after I toggled xkb layout)
>> 3. M-: (encode-coding-region (point-min) (point-max) 'koi8-r) and
>> Russian characters become '?'.
SM> 
SM> What did you expect instead?

I expect that cyrrillic characters will be encoded to their koi8-r values.
-- 
Alexander Kotelnikov
Saint-Petersburg, Russia





reply via email to

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