Author Drekin
Recipients Drekin, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2016-10-01.15:20:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475335225.65.0.631429009191.issue28333@psf.upfronthosting.co.za>
In-reply-to
Content
In my setting (Python 3.6b1 on Windows), trying to prompt a non-ASCII character via input() results in mojibake. This is related to the recent fix of #1602 and so is Windows-specific.

>>> input("α")
╬▒

The result corresponds to print("α".encode("utf-8").decode("cp852")). That cp852 the default terminal encoding in my locale.
History
Date User Action Args
2016-10-01 15:20:25Drekinsetrecipients: + Drekin, paul.moore, vstinner, tim.golden, ezio.melotti, zach.ware, steve.dower
2016-10-01 15:20:25Drekinsetmessageid: <1475335225.65.0.631429009191.issue28333@psf.upfronthosting.co.za>
2016-10-01 15:20:25Drekinlinkissue28333 messages
2016-10-01 15:20:25Drekincreate