Re: [Python-mode] python mode shell and unicode

2010-03-28 Thread Andreas Röhler
Max Arnold wrote: > On Sun, Mar 28, 2010 at 06:34:06PM +0200, Andreas Röhler wrote: >>> On Sun, Mar 28, 2010 at 04:56:49PM +0200, Andreas Röhler wrote: Looks like your problem is rather on the python than the emacs side. Download it here http://launchpad.net/python-mode/trunk/5.1.0/+

Re: [Python-mode] python mode shell and unicode

2010-03-28 Thread Andreas Röhler
Max Arnold wrote: > On Sun, Mar 28, 2010 at 04:56:49PM +0200, Andreas Röhler wrote: >> Looks like your problem is rather on the python than the emacs side. > >> Download it here >> http://launchpad.net/python-mode/trunk/5.1.0/+download/python-mode.el >> >> M-x py-execute-file > > Ok, I placed (re

Re: [Python-mode] python mode shell and unicode

2010-03-28 Thread Andreas Röhler
Max Arnold wrote: > On Sun, Mar 28, 2010 at 09:25:02AM +0200, Andreas Röhler wrote: >> Hmm, see inside `python-send-region' >> >> ;; Fixme: Write a `coding' header to the temp file if the region is >> ;; non-ASCII. >> >> Maybe that indicates the cause? > > I think this is unrelated to the issu

Re: [Python-mode] python mode shell and unicode

2010-03-28 Thread Andreas Röhler
Max Arnold wrote: > On Sat, Mar 27, 2010 at 06:48:00PM +0100, Andreas Röhler wrote: >>> 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