|
From: | Andreas Röhler |
Subject: | Re: python mode shell and unicode |
Date: | Sat, 27 Mar 2010 18:48:00 +0100 |
User-agent: | Thunderbird 2.0.0.19 (X11/20081227) |
Max Arnold wrote: > 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 > > > C-c C-c is bound here to (python-send-buffer) Send the current buffer to the inferior Python process. What you get from C-h v buffer-file-coding-system? Andreas -- https://code.launchpad.net/~a-roehler/python-mode https://code.launchpad.net/s-x-emacs-werkstatt/
[Prev in Thread] | Current Thread | [Next in Thread] |