[ python-Feature Requests-1052098 ] Seting defaultencoding through an environment variable

SourceForge.net noreply at sourceforge.net
Sat Oct 23 10:32:53 CEST 2004


Feature Requests item #1052098, was opened at 2004-10-22 12:11
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1052098&group_id=5470

>Category: Python Library
>Group: None
Status: Open
Resolution: None
Priority: 1
Submitted By: Diedrich Vorberg (diedrich)
Assigned to: Nobody/Anonymous (nobody)
Summary: Seting defaultencoding through an environment variable

Initial Comment:
Hallo, I'd love to be able to set Python's default
encoding on a per instance basis through an environment
variable like

  PYTHON_DEFAULT_ENCODING

or something. That would require a trivial modification
to site.py. 

Diedrich

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2004-10-23 10:32

Message:
Logged In: YES 
user_id=21627

Why do you want this change? In the long run, Python will
drop the notion of a default encoding; code should be
changed to avoid relying on the default encoding.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1052098&group_id=5470


More information about the Python-bugs-list mailing list