From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: python-shell-send-region uses wrong encoding? Date: Tue, 29 Oct 2013 09:00:08 -0700 (PDT) Message-ID: References: <20131029113044.GA28039@doriath.local> <58c24be4-f103-4287-a674-dc1eb4ef7331@default> <20131029143716.GA28671@doriath.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1383062480 23522 80.91.229.3 (29 Oct 2013 16:01:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2013 16:01:20 +0000 (UTC) To: =?iso-8859-1?B?RXJuZXN0IEFkcm9ndek=?= , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 29 17:01:22 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 1VbBjO-0005QQ-0L for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Oct 2013 17:01:22 +0100 Original-Received: from localhost ([::1]:47928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbBjN-0002Nc-KK for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Oct 2013 12:01:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbBiR-0001rz-PA for help-gnu-emacs@gnu.org; Tue, 29 Oct 2013 12:00:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbBiH-0007bK-62 for help-gnu-emacs@gnu.org; Tue, 29 Oct 2013 12:00:23 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:28905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbBiG-0007bC-W6 for help-gnu-emacs@gnu.org; Tue, 29 Oct 2013 12:00:13 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9TG0AA1026966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 Oct 2013 16:00:11 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9TG095Z014984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Oct 2013 16:00:10 GMT Original-Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9TG098E024133; Tue, 29 Oct 2013 16:00:09 GMT In-Reply-To: <20131029143716.GA28671@doriath.local> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:94248 Archived-At: > That was me who asked the question on stackoverflow :-) Yes, that's clear. > The solutions they gave me didn't really solve the issue. I see. Then why did you accept one of them (instead of just up-voting it, if it provided only partial help)? And just what was wrong with the solution (from user `wvxvw') that you accepted? Here is `wvxvw's answer, in case it helps others understand what else might need to be added in order to help you: "you need the encoding system in your buffer which contains the source code to be utf-8 to send two bytes for =F6. However, if it is a single-byte encoding, and given that you select the locale that maps the byte F6 to =F6, you will get that byte. PS. Make sure you have -*- coding: utf-8 -*- comment."