From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Kotelnikov Newsgroups: gmane.emacs.devel Subject: Re: converting between charsets Date: Mon, 15 May 2006 10:02:33 +0400 Organization: Global disintoxication Message-ID: <84lkt34yh2.fsf@vinci.loc> References: <87lktejh6f.fsf@myxomop.com> <87u082109z.fsf-monnier+emacs@gnu.org> <84veshaajc.fsf@vinci.loc> <87d5ep1a2c.fsf-monnier+emacs@gnu.org> <84hd40am8t.fsf@vinci.loc> <84ac9rah6z.fsf@vinci.loc> <87k68v82q6.fsf-monnier+emacs@gnu.org> <84bqu17on7.fsf@vinci.loc> <87wtcpqorp.fsf-monnier+emacs@gnu.org> <84zmhk4hnn.fsf@vinci.loc> <871wuwqg43.fsf-monnier+emacs@gnu.org> <84ves74ytd.fsf@vinci.loc> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147673424 3814 80.91.229.2 (15 May 2006 06:10:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 May 2006 06:10:24 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 15 08:10:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FfWHb-00059A-9O for ged-emacs-devel@m.gmane.org; Mon, 15 May 2006 08:10:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfWHa-0004MN-Rw for ged-emacs-devel@m.gmane.org; Mon, 15 May 2006 02:10:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FfWHO-0004Ls-Gu for emacs-devel@gnu.org; Mon, 15 May 2006 02:10:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FfWHN-0004LX-11 for emacs-devel@gnu.org; Mon, 15 May 2006 02:10:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfWHM-0004LU-Sv for emacs-devel@gnu.org; Mon, 15 May 2006 02:10:04 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FfWJi-0005Vd-HG for emacs-devel@gnu.org; Mon, 15 May 2006 02:12:30 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FfWHK-00056M-12 for emacs-devel@gnu.org; Mon, 15 May 2006 08:10:02 +0200 Original-Received: from 81.211.124.120.adsl-spb.net.rol.ru ([81.211.124.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 May 2006 08:10:02 +0200 Original-Received: from sacha by 81.211.124.120.adsl-spb.net.rol.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 May 2006 08:10:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 81.211.124.120.adsl-spb.net.rol.ru Mail-Copies-To: never User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:ISaykopqqNGAIUqTfoIUT7gk/MQ= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54489 Archived-At: >>>>> On Mon, 15 May 2006 09:55:10 +0400 >>>>> "AK" == Alexander Kotelnikov wrote: AK> >>>>> On Sun, 14 May 2006 20:37:21 -0400 >>>>> "SM" == Stefan Monnier wrote: SM> >>> 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? AK> AK> I expect that cyrrillic characters will be encoded to their koi8-r values. Just like if toggle xkb to 'fr', enter some text in French (with accents and stuff), and evaluate (encode-coding-region (point-min) (point-max) 'iso-8859-1) This works, I just checked! -- Alexander Kotelnikov Saint-Petersburg, Russia