Encodage, Unicode.

darcs-hash:20060218162406-68412-09f830e1b1124d493ea43d4e36d8f6745327ba5d.gz
This commit is contained in:
glondu 2006-02-18 17:24:06 +01:00
parent 1d2386d1fe
commit c0084562e0
2 changed files with 5 additions and 4 deletions

View file

@ -14,7 +14,7 @@ try:
from locale import getpreferredencoding
encoding = getpreferredencoding()
except:
encoding = "ISO-8859-15"
encoding = sys.stdin.encoding or "ISO-8859-15"
if 'TERM' in os.environ and os.environ['TERM'] != 'unknown':
el = os.popen('tput cr ; tput el').read()