[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel evaluation of python and utf-8
From: |
Alan Schmitt |
Subject: |
Re: [O] babel evaluation of python and utf-8 |
Date: |
Fri, 04 Jul 2014 16:08:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
On 2014-06-26 18:07, Daniel Clemente <address@hidden> writes:
>>
>> #+BEGIN_SRC python :prefix # -*- coding: utf-8 -*- :results output
>> print(u'é')
>> #+END_SRC
>>
>
> 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/output?
>
> By the way, with Python3 it doesn't happen since it doesn't need the
> coding:utf-8 declaration anymore.
Should this be considered a bug, or do we require python 3 for such
things?
Thanks,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
pgpUXYL8ddku_.pgp
Description: PGP signature
- Re: [O] babel evaluation of python and utf-8,
Alan Schmitt <=