From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: X11 Compound Text vs ISO 2022 Date: Wed, 07 Jul 2010 00:38:18 +0100 Message-ID: <4C33BE6A.2090707@harpegolden.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278459511 17432 80.91.229.12 (6 Jul 2010 23:38:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 23:38:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: James Cloos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 07 01:38:28 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OWHie-0005gG-Ae for ged-emacs-devel@m.gmane.org; Wed, 07 Jul 2010 01:38:28 +0200 Original-Received: from localhost ([127.0.0.1]:52153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWHid-00081Q-LN for ged-emacs-devel@m.gmane.org; Tue, 06 Jul 2010 19:38:27 -0400 Original-Received: from [140.186.70.92] (port=37006 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWHiZ-00081L-1B for emacs-devel@gnu.org; Tue, 06 Jul 2010 19:38:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWHiY-0003My-2p for emacs-devel@gnu.org; Tue, 06 Jul 2010 19:38:22 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:50126) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWHiX-0003Mo-Ru for emacs-devel@gnu.org; Tue, 06 Jul 2010 19:38:22 -0400 Original-Received: from [87.198.54.8] (87-198-54-8.ptr.magnet.ie [87.198.54.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 1BBB3684B7; Wed, 7 Jul 2010 00:38:18 +0100 (IST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:126852 Archived-At: > A number of characters are output in '^[$-1'; such as: > (encode-coding-string "=E2=84=9C" 'compound-text) ; U+211C BLACK-LETTE= R CAPITAL R > "^[$-1\365\334^[-A" > (encode-coding-string "=CA=BB" 'compound-text) ; U+02BB MODIFIER LETTE= R=20 TURNED COMMA > "^[$-1\244\333^[-A" > That is encoded in mule-unicode-0100-24ff, essentially unknown outside > Emacs. But actually I think emacs should be using using coding system compound-text-with-extensions by default, not coding system compound-text? At least if you haven't customized selection-coding-system. That does give different results to your examples in some cases: (encode-coding-string "=E2=84=9C" 'compound-text-with-extensions) "=1B%G\342\204\234=1B%@" (encode-coding-string "=CA=BB" 'compound-text-with-extensions) "=1B%G\312\273=1B%@"