This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author davispuh
Recipients davispuh, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2016-06-02.01:03:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464829392.86.0.21388917679.issue27179@psf.upfronthosting.co.za>
In-reply-to
Content
there's no such "ā" command, it's just used to get non-ASCII output

cmd will return:
'ā' is not recognized as an internal or external command,
operable program or batch file.


and this will be encoded in consoles encoding (UTF8 in my example or whatever chcp is set to) which Python will fail to read as it will use locale.getpreferredencoding(False) instead of sys.stdout.encoding


see attached patch, it fixes this problem, you can try reproduce yourself.
History
Date User Action Args
2016-06-02 01:03:12davispuhsetrecipients: + davispuh, paul.moore, vstinner, tim.golden, ezio.melotti, zach.ware, steve.dower
2016-06-02 01:03:12davispuhsetmessageid: <1464829392.86.0.21388917679.issue27179@psf.upfronthosting.co.za>
2016-06-02 01:03:12davispuhlinkissue27179 messages
2016-06-02 01:03:12davispuhcreate