From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Subject: Re: org-babel, python, encoding and table Date: Tue, 07 May 2013 19:34:20 +0200 Message-ID: <51893B1C.50609@easy-emacs.de> References: <87zjw6spxt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlkF-0006Eu-PL for emacs-orgmode@gnu.org; Tue, 07 May 2013 13:32:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZlk8-0003Ll-AF for emacs-orgmode@gnu.org; Tue, 07 May 2013 13:32:07 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:61520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlk8-0003LI-1j for emacs-orgmode@gnu.org; Tue, 07 May 2013 13:32:00 -0400 In-Reply-To: <87zjw6spxt.fsf@gmail.com> 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@gnu.org Am 07.05.2013 18:41, schrieb Eric Schulte: >> #+NAME: test2 >> #+begin_src python :results value :preamble # -*- coding: utf-8 -*- :return >> a >> a = ( ( "é", "a" ), ( "a", "à" ) ) >> b = "é" >> #+end_src >> >> #+RESULTS: test2 >> | \303\251 | a | >> | a | \303\240 | >> > > Maybe this isn't an execution problem, but is rather a buffer encoding > problem. I executed your example above in a small buffer (attached). I > then saved this buffer and was forced to specify an encoding, I selected > utf8. If I cat the resulting file from disk, the accented characters > appear correctly. > > > > > So maybe the problem is simply Emacs not displaying utf8 characters > correctly. > > Hope this helps, > Here error occurs depending if a or b is specified for return, really strange. Andreas