From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: python-shell-send-region uses wrong encoding? Date: Tue, 29 Oct 2013 15:26:18 +0100 Message-ID: <526FC58A.6080204@easy-emacs.de> References: <20131029113044.GA28039@doriath.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1383056647 12436 80.91.229.3 (29 Oct 2013 14:24:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2013 14:24:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 29 15:24:11 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 1VbADK-0003Kn-Ou for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Oct 2013 15:24:10 +0100 Original-Received: from localhost ([::1]:47468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbADK-00074i-Bu for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Oct 2013 10:24:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbAD1-00074c-Ug for help-gnu-emacs@gnu.org; Tue, 29 Oct 2013 10:23:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbACu-00087s-L2 for help-gnu-emacs@gnu.org; Tue, 29 Oct 2013 10:23:51 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.9]:63989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbACu-00087i-Bn for help-gnu-emacs@gnu.org; Tue, 29 Oct 2013 10:23:44 -0400 Original-Received: from purzel.sitgens (brln-4d0cbd28.pool.mediaWays.net [77.12.189.40]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0M5cGS-1VumUY1pCi-00xuAa; Tue, 29 Oct 2013 15:23:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <20131029113044.GA28039@doriath.local> X-Provags-ID: V02:K0:JvalAoQ7Bycb13AD4n2t9htMRkZ5ixDlrbYyhtEOvBN csqLLHXXOoSoH5C9q5ey+GhJVUxHpkH++nTcuj0RSVJdBWfOSP pZV0DVBuKsTnITdCRae8FCid2zqETCsnocbL/SHW7ufx0VH/ED iN7gpiKSr8+pj8c46zXG0O5TfgzbMzBzoj/2D5DSSpGdjUwxSR 2TRaL2xcCzknINzAJEOOY9EFl3HcCX6bhv9tcrkk90QfHtlfR+ R95gf/WpGuZpIiUepunPVVc9F92prUVbMF+9F9OUaotEJcMMxt QWM3t0RLnhuTj8KPjpEzPCkjfR7BXIr9MaPMQK3jn63087qFA0 sHHKF1VbvgLoXFMm/rPM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.9 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:94242 Archived-At: Am 29.10.2013 12:30, schrieb Ernest Adrogué: > #!/usr/bin/env python > # -*- coding: utf-8 -*- > > from __future__ import print_function > > a = 'Wörterbuch'.decode('utf8') > b = u'Wörterbuch' > > print(repr(a)) > print(repr(b)) Works here without the `repr': print(a) print(b)