A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-May/079604.html below:

[Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING

[Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING [Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODINGLennart Regebro regebro at gmail.com
Tue May 20 12:20:06 CEST 2008
On Tue, May 20, 2008 at 12:16 PM, Thomas Wouters <thomas at python.org> wrote:
> You're forgetting about print; in Python 2.x, when stdout is connected to a
> terminal, the locale settings (typically the LANG, LC_ALL and LC_CTYPE
> environment variables) are taken into account when 'print' writes to
> sys.stdout.

Isn't it then enough to make sure your locale setting are correct?
(Never had any problems myself, if works great in Ubuntu).

-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4