#+BEGIN_SRC python :results output
print(u'\\xA9')
#+END_SRC
#+RESULTS:
: \xA9
AFAUI cause in in calling org-babel--shell-command-on-region, line 108
of ob-eval.el
(process-file shell-file-name input-file
where python is run through a bash.
While in a Emacs python-shell print(u'\x
Am 27.02.2013 10:12, schrieb Bastien:
Hi Andreas,
Andreas Röhler 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(
Hi Andreas,
Andreas Röhler writes:
> Forms work from all Python shells
You need to test the form in a regular shell, not a Python shell.
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
Am 27.02.2013 09:30, schrieb Bastien:
Andreas Röhler writes:
When evaluating the source examples attached, it fails sending
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position 0:
ordinal not in range(128)
T
Andreas Röhler writes:
> When evaluating the source examples attached, it fails sending
>
> Traceback (most recent call last):
> File "", line 1, in
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position
> 0: ordinal not in range(128)
This is a Python error, not an Or
When evaluating the source examples attached, it fails sending
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position 0:
ordinal not in range(128)
UnicodeEncodeError-lp-550661-test.org
Description: Lotus Organizer