From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Subject: Re: org-babel, python, encoding and table Date: Wed, 08 May 2013 10:36:46 +0200 Message-ID: <518A0E9E.7070309@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]:38335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZzpT-0003av-Bv for emacs-orgmode@gnu.org; Wed, 08 May 2013 04:34:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZzpS-0008Rw-6j for emacs-orgmode@gnu.org; Wed, 08 May 2013 04:34:27 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:62827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZzpR-0008Re-Tr for emacs-orgmode@gnu.org; Wed, 08 May 2013 04:34:26 -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 Cc: Roland Donat , Eric Schulte 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. > Confirming this. BTW also return a[0][0] displays correct so far. Cheers, Andreas