emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: BUG copyright sign
Date: Wed, 27 Feb 2013 09:53:06 +0100	[thread overview]
Message-ID: <512DC972.6020009@easy-emacs.de> (raw)
In-Reply-To: <87zjyqupk1.fsf@bzg.ath.cx>

Am 27.02.2013 09:30, schrieb Bastien:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> When evaluating the source examples attached, it fails sending
>>
>> Traceback (most recent call last):
>>    File "<stdin>", line 1, in <module>
>> UnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position 0: ordinal not in range(128)
>
> This is a Python error, not an Org error.
>
> I guess you are using Python 2.x?
>
> The way Python handles encoding changed in Python 3.0.
>

Forms work from all Python shells

 > python
Python 2.7.3 (default, Apr 14 2012, 08:58:41) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> print(u'\xA9')
©
 >>> quit()
 > python3
Python 3.3.0 (default, Oct 01 2012, 09:13:30) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
 >>> print(u'\xA9')
©
 >>> print(u'\u00A9')
©
 >>>

AFAIS bug is caused by calling shell-command-on-region

  reply	other threads:[~2013-02-27  8:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27  8:20 BUG copyright sign Andreas Röhler
2013-02-27  8:30 ` Bastien
2013-02-27  8:53   ` Andreas Röhler [this message]
2013-02-27  9:12     ` Bastien
2013-02-27  9:23       ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=512DC972.6020009@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).