[Top][All Lists]

[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: Sun, 14 May 2006 21:53:32 +0400
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

>>>>> On Sat, 13 May 2006 23:20:03 -0400
>>>>> "SM" == Stefan Monnier <address@hidden> wrote:
SM> Please explain why you think there is relation between those things and
SM> encode-coding-region.  And of course, that will involve describing where
SM> how and when you call encode-coding-region.
>> I do not understand the question. I use encode-coding-region to encode
>> a region into a charset and some characters are not encoded, but are
>> substituted with question mark.
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.

For example. 
1. (find-file "/tmp/test.txt")
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 '?'.

Alexander Kotelnikov
Saint-Petersburg, Russia

reply via email to

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