unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Max Arnold <lwarxx@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: python mode shell and unicode
Date: Fri, 26 Mar 2010 22:35:43 +0700	[thread overview]
Message-ID: <20100326153543.GA11085@bbone> (raw)

Hi all!

My python-shell invoked via C-c C-c from python buffer can not print unicode characters (emits
UnicodeEncodeError) and sys.stdout.encoding is empty. System wide LANG set to "ru_RU.UTF-8" and
os.environ.get('LANG') in python shell confirms this.

When python-shell invoked manually (M-x python-shell) there is no encoding issues. Any ideas?

Cheers, Max




             reply	other threads:[~2010-03-26 15:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 15:35 Max Arnold [this message]
2010-03-27 17:48 ` python mode shell and unicode Andreas Röhler
2010-03-28  2:47   ` Max Arnold
2010-03-28  7:25     ` Andreas Röhler
2010-03-28 13:08       ` Max Arnold
2010-03-28 14:56         ` Andreas Röhler
2010-03-28 16:37           ` Max Arnold
2010-03-28 16:34             ` Andreas Röhler
2010-03-28 17:58               ` Max Arnold
2010-03-28 17:28                 ` 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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20100326153543.GA11085@bbone \
    --to=lwarxx@gmail.com \
    --cc=help-gnu-emacs@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.
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).