Am 27.02.2013 10:12, schrieb Bastien:
Hi Andreas,
Andreas Röhler <andreas.roeh...@easy-emacs.de> writes:
Forms work from all Python shells
You need to test the form in a regular shell, not a Python shell.
Hi Bastien,
do you mean this:
> python -c "print(u'\xA9')"
©
> python -c "print(u'\u00A9')"
©
> python3 -c "print(u'\xA9')"
©
> python3 -c "print(u'\u00A9')"
©
>
See `org-babel-sh-command'.
AFAIS bug is caused by calling shell-command-on-region
See above, and edebug-defun `org-babel-shell-command-on-region'
to see what's wrong here.
Well, that was a long-time bug in python-mode, so I'm not surprised to find it
here.
BTW org-babel solution looks quite interesting. Just porting existing fix might
not be the best.
Need to investigate it further.
Cheers,
Andreas