From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: python-shell-send-region uses wrong encoding? Date: Tue, 29 Oct 2013 16:34:45 +0100 Message-ID: References: <20131029113044.GA28039@doriath.local> <526FC58A.6080204@easy-emacs.de> <20131029145554.GB28671@doriath.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1383060914 1941 80.91.229.3 (29 Oct 2013 15:35:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2013 15:35:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?iso-8859-1?Q?Ernest_Adrogu=E9?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 29 16:35:18 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VbBK9-0003xB-6T for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Oct 2013 16:35:17 +0100 Original-Received: from localhost ([::1]:47797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbBK8-0004s3-KW for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Oct 2013 11:35:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbBJo-0004qH-RG for help-gnu-emacs@gnu.org; Tue, 29 Oct 2013 11:35:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbBJg-0007y7-7o for help-gnu-emacs@gnu.org; Tue, 29 Oct 2013 11:34:56 -0400 Original-Received: from mout.web.de ([212.227.15.4]:55785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbBJf-0007xH-Ur for help-gnu-emacs@gnu.org; Tue, 29 Oct 2013 11:34:48 -0400 Original-Received: from sumac.fritz.box ([84.119.50.65]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0MTyDl-1VATOm4AHx-00QjRu for ; Tue, 29 Oct 2013 16:34:46 +0100 In-Reply-To: <20131029145554.GB28671@doriath.local> X-Mailer: Apple Mail (2.1085) X-Provags-ID: V03:K0:CI2BFNSX9yalq/clZKEgAmFsMPweIsZSSFwBbz29mB2QYY92h2Q rL8vG8ayTs0tIucRheXF8sx7O2lEHEgOUPBApvrg4NYw9gsUZc1BVqCH8cFJ+6KP/tyCwlH CZLUPgKDT+DNfIl/GbpBylivrOU5Nj4dGb1OS/H88plmV/3fkK3XQr63RAuvAmt4XBQWTMU nOJQXyXj1lg210IM21C0A== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94247 Archived-At: Am 29.10.2013 um 15:55 schrieb Ernest Adrogu=E9: > Here it's different, print(b) prints `W=C3=B6rterbuch' (C-c C-r) and > `W=F6rterbuch' (C-c C-c). This obviously happens in an 8-bit environment. `W=C3=B6rterbuch' is the = sequence of octets that represent the ISO Latin-x (or ISO 8859) encoded = word `W=F6rterbuch' in UTF-8 encoding. Here the "=F6" is encoded as two = octets: 0xC3 0xB6. The first one is in ISO 8859-15 the character "=C4" = and the latter is in that encoding the character "=B6". So it seems that one functions prints exclusively in UTF-8=85 -- Greetings Pete You can never know too little of what is not worth knowing at all. =96 Anon.