FAQ
Bugs item #1324907, was opened at 2005-10-12 16:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid0103&aid24907&group_id3

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: command line scripts
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Edgar Holleis (ccaracalla)
Assigned to: Nobody/Anonymous (nobody)
Summary: Feature request: Respect terminal encoding

Initial Comment:
-------------- patch ------------------

--- bin/list_members 2005-04-14 17:47:41.000000000 +0200
+++ bin/list_members.edgar 2005-10-12
15:57:10.000000000 +0200
@@ -81,7 +81,8 @@
from email.Utils import formataddr

PROGRAM = sys.argv[0]
-ENC = sys.getdefaultencoding()
+import locale
+language, ENC = locale.getdefaultlocale()
COMMASPACE = ', '

try:


------------ patch end ----------------


Justification:

.) I know many administrators who set their server's
system locale to POSIX or C but later only access those
machines from their workstations which have their
locale set to Unicode.
.) Assuming system locale == current terminal locale is
evil.

Ok, I'm sure you guys had your reasons not to do it the
way of the above patch. Never the less it would be cool
to have some finer grained control over what you get.

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

You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid0103&aid24907&group_id3

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-coders @
categoriespython
postedOct 12, '05 at 2:22p
activeOct 12, '05 at 2:22p
posts1
users1
websitelist.org

1 user in discussion

SourceForge.net: 1 post

People

Translate

site design / logo © 2022 Grokbase