From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: Re: babel evaluation of python and utf-8 Date: Thu, 26 Jun 2014 23:07:07 +0700 Message-ID: <87simrhcyc.wl%n142857@gmail.com> References: Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0CCp-0004w8-O3 for emacs-orgmode@gnu.org; Thu, 26 Jun 2014 12:07:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0CCf-0005MZ-PX for emacs-orgmode@gnu.org; Thu, 26 Jun 2014 12:07:23 -0400 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]:39620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0CCf-0005MS-I2 for emacs-orgmode@gnu.org; Thu, 26 Jun 2014 12:07:13 -0400 Received: by mail-pd0-f182.google.com with SMTP id y13so3233700pdi.27 for ; Thu, 26 Jun 2014 09:07:12 -0700 (PDT) Received: from la4.gmail.com ([182.253.72.190]) by mx.google.com with ESMTPSA id ja8sm10737824pbd.3.2014.06.26.09.07.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jun 2014 09:07:11 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode >=20 > #+BEGIN_SRC python :prefix # -*- coding: utf-8 -*- :results output > print(u'=E9') > #+END_SRC >=20 I also see the same problem here. Even if you include # -*- coding: utf-8= -*- as the first line. Shouldn't org-babel already be using utf-8 instead of ASCII for input/outpu= t? By the way, with Python3 it doesn't happen since it doesn't need the coding= :utf-8 declaration anymore.