[Orgmode] Babel, Python and UTF-8

2010-12-01 Thread Vincent Beffara
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).

Re: [Orgmode] Babel, Python and UTF-8

2010-12-01 Thread Eric Schulte
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,