From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: unibyte<->multibyte conversion [Re: Emacs-diffs Digest, Vol 2, Issue 28] Date: Wed, 22 Jan 2003 05:00:04 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3405-Sat18Jan2003154003+0200-eliz@is.elta.co.il> <200301200229.LAA16287@etlken.m17n.org> <6480-Mon20Jan2003214849+0200-eliz@is.elta.co.il> <200301210010.JAA17551@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1043229717 3867 80.91.224.249 (22 Jan 2003 10:01:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2003 10:01:57 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18bHgi-0000vr-00 for ; Wed, 22 Jan 2003 11:00:52 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18bHiQ-0007sT-00 for ; Wed, 22 Jan 2003 11:02:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18bHhw-0005JL-0A for emacs-devel@quimby.gnus.org; Wed, 22 Jan 2003 05:02:08 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18bHgY-0004wD-00 for emacs-devel@gnu.org; Wed, 22 Jan 2003 05:00:42 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18bHgC-0004fD-00 for emacs-devel@gnu.org; Wed, 22 Jan 2003 05:00:20 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18bHg0-0004Wc-00 for emacs-devel@gnu.org; Wed, 22 Jan 2003 05:00:08 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18bHfw-0002TY-00; Wed, 22 Jan 2003 05:00:04 -0500 Original-To: Kenichi Handa In-reply-to: <200301210010.JAA17551@etlken.m17n.org> (message from Kenichi Handa on Tue, 21 Jan 2003 09:10:07 +0900 (JST)) Original-cc: eliz@is.elta.co.il X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10965 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10965 unibyte sequence (hex): 81 81 C0 C0 result of conversion display in multbyte buffer string-as-multibyte: 9E A1 81 C0 C0 \201À\300 string-make-multibyte: 9E A1 9E A1 81 C0 81 C0 \201\201ÀÀ string-to-multibyte: 9E A1 9E A1 C0 C0 \201\201\300\300 I think this example should go in the Lisp manual. Could you add it? (1) Reading a process output by raw-text into a multibyte buffer does AS conversion. I think this should do TO conversion to be consistent with (3). That is a strong argument in favor. Does anyone see any arguments against this change?