This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

python3 and mintty: why ANSI_X3.4-1968 encoding


I am using mintty with option Text.locale=fr_FR and Character set=UTF-8
Why, then, python3 reports a different encoding (ANSI_X3.4-1968) for
stdout and stdin?

$ cat toto.py
import sys
print(sys.stdin.encoding)
print(sys.stdout.encoding)

$ python3 toto.py
ANSI_X3.4-1968
ANSI_X3.4-1968

Thanks,

Frédéric

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]