From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Max Arnold Newsgroups: gmane.emacs.help Subject: python mode shell and unicode Date: Fri, 26 Mar 2010 22:35:43 +0700 Message-ID: <20100326153543.GA11085@bbone> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: dough.gmane.org 1269698717 29390 80.91.229.12 (27 Mar 2010 14:05:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Mar 2010 14:05:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 27 15:05:13 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NvWdT-0007rv-MS for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Mar 2010 15:05:12 +0100 Original-Received: from localhost ([127.0.0.1]:45567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvWdT-0000qd-2Q for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Mar 2010 10:05:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvBZh-0002MZ-K2 for help-gnu-emacs@gnu.org; Fri, 26 Mar 2010 11:35:53 -0400 Original-Received: from [140.186.70.92] (port=44626 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvBZg-0002Ld-4x for help-gnu-emacs@gnu.org; Fri, 26 Mar 2010 11:35:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvBZe-0001qX-Pm for help-gnu-emacs@gnu.org; Fri, 26 Mar 2010 11:35:51 -0400 Original-Received: from mail-fx0-f224.google.com ([209.85.220.224]:34094) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvBZe-0001q6-Kv for help-gnu-emacs@gnu.org; Fri, 26 Mar 2010 11:35:50 -0400 Original-Received: by fxm24 with SMTP id 24so12063fxm.26 for ; Fri, 26 Mar 2010 08:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent; bh=unE8VKeuW341znqvXDil/LkOopBnZVFinMdu1ab0YL0=; b=LOy0oWOslBSQvFzt6kAzsXBUVyBnIJczJD6De+h3OcWCxAbUmy6rmt/3oT7qYIfFvn i0fWqttzXpfiCw81gQE/i8uLumPCL084RNib8RnhVcbsDKOwinoqGexgi7XyvyDeDls/ vM0AODHGw8oF2eL1VIlGuxx8/i2tndSlJI60M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; b=yAKiHICeUybLu7xE0E/FHSLhTYLj41phsvnUR3AiyNItl30tGYzlbUUUsXHiSW5Q/0 jdhXmQVnXPQUFkiWL6Y8Ij0PgnddbTMK9TIrDlG5CIsaLN1kNc9J+KApmmfIkp5g5/T4 M4j0gmKautMKAOoLehg1eWTW30P5lZ/yFhAmo= Original-Received: by 10.87.67.25 with SMTP id u25mr4395608fgk.32.1269617748606; Fri, 26 Mar 2010 08:35:48 -0700 (PDT) Original-Received: from bbone ([212.75.220.126]) by mx.google.com with ESMTPS id 15sm741443fxm.7.2010.03.26.08.35.47 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Mar 2010 08:35:48 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 27 Mar 2010 10:02:11 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72494 Archived-At: 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