|
From: | Andreas Röhler |
Subject: | Re: [O] org-babel, python, encoding and table |
Date: | Wed, 08 May 2013 10:36:46 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |