From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: converting between charsets Date: Sun, 14 May 2006 20:37:21 -0400 Message-ID: <871wuwqg43.fsf-monnier+emacs@gnu.org> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147653466 28639 80.91.229.2 (15 May 2006 00:37:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 May 2006 00:37:46 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 15 02:37:43 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 1FfR5i-00080X-Hk for ged-emacs-devel@m.gmane.org; Mon, 15 May 2006 02:37:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfR5h-0005pw-Vm for ged-emacs-devel@m.gmane.org; Sun, 14 May 2006 20:37:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FfR5W-0005pe-0X for emacs-devel@gnu.org; Sun, 14 May 2006 20:37:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FfR5U-0005pP-Hk for emacs-devel@gnu.org; Sun, 14 May 2006 20:37:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfR5U-0005pM-Ef for emacs-devel@gnu.org; Sun, 14 May 2006 20:37:28 -0400 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FfR7m-0003jI-Jw for emacs-devel@gnu.org; Sun, 14 May 2006 20:39:50 -0400 Original-Received: from alfajor ([70.53.194.126]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060515003727.YJJF18394.tomts5-srv.bellnexxia.net@alfajor>; Sun, 14 May 2006 20:37:27 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id ED556D7754; Sun, 14 May 2006 20:37:21 -0400 (EDT) Original-To: emacs-devel@gnu.org In-Reply-To: <84zmhk4hnn.fsf@vinci.loc> (Alexander Kotelnikov's message of "Sun, 14 May 2006 21:53:32 +0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:54468 Archived-At: 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. Please take seriously the bit about the idiot. > For example. > 1. (find-file "/tmp/test.txt") How did you start Emacs? > 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 '?'. What did you expect instead? Stefan