[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Babel, Python and UTF-8
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] Babel, Python and UTF-8 |
Date: |
Wed, 01 Dec 2010 18:18:02 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Vincent,
I would suggest just trying it out first and seeing if you get an error
without such a line. Also, you could try adding the line to the
beginning of your code block.
If there is definitely a problem please reply to this thread and we
could easily add a header argument for this case, possibly named
":prefix" which could be used to specify such a code-block-prefix for
code evaluation. This header argument could then be set globally or on
the file, heading, or code block level.
Best -- Eric
Vincent Beffara <address@hidden> writes:
> Hi,
>
> I am discovering org-mode and org-babel, and wanted to try it out with
> python code blocks. My use case would involve text processing, encoded
> as UTF-8. Usually a python file has to contain a line to that effect,
> saying sth like # -*- coding: utf-8 -*- (without which an error is
> raised).
>
> Is there a way to manage that during org-babel block evaluation ?
>
> Thanks for your help !
>
> /v
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- [Orgmode] Babel, Python and UTF-8, Vincent Beffara, 2010/12/01
- Re: [Orgmode] Babel, Python and UTF-8,
Eric Schulte <=
- [Orgmode] Re: Babel, Python and UTF-8, Vincent Beffara, 2010/12/01
- Re: [Orgmode] Re: Babel, Python and UTF-8, Eric Schulte, 2010/12/02
- [Orgmode] Re: Babel, Python and UTF-8, Vincent Beffara, 2010/12/02
- [Orgmode] Re: Babel, Python and UTF-8, Dan Davison, 2010/12/02
- [Orgmode] Re: Babel, Python and UTF-8, Eric Schulte, 2010/12/02
- [Orgmode] Re: Babel, Python and UTF-8, Sébastien Vauban, 2010/12/02
- [Orgmode] Re: Babel, Python and UTF-8, Sébastien Vauban, 2010/12/02
- Re: [Orgmode] Re: Babel, Python and UTF-8, Eric Schulte, 2010/12/02
- [Orgmode] Re: Babel, Python and UTF-8, Sébastien Vauban, 2010/12/02
- [Orgmode] Re: Babel, Python and UTF-8, Vincent Beffara, 2010/12/03