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 vstinner
Recipients Arfrever, amaury.forgeotdarc, berwin22, chris.jerdonek, eric.araujo, mark, martin.panter, mightyiam, ncoghlan, pitrou, r.david.murray, segfaulthunter, srid, steve.dower, vstinner
Date 2016-09-06.04:44:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwacqLWg8ow1buY+9Lu69knQhBbVbw=dd2wKpqFW8ZxHUw@mail.gmail.com>
In-reply-to <1473134059.35.0.238963184101.issue6135@psf.upfronthosting.co.za>
Content
Martin Panter added the comment:
> Also, should encoding=... or errors=... be an error if universal_newlines=False (the default)?

Right. But if encoding or errors is used, universal_newlines value
should be set automatically to True.

For example, I expect Unicode when writing:

output = subprocess.call(cmd, stdout=subprocess.PIPE, encoding='utf8').stdout
History
Date User Action Args
2016-09-06 04:44:05vstinnersetrecipients: + vstinner, amaury.forgeotdarc, ncoghlan, pitrou, mark, eric.araujo, segfaulthunter, Arfrever, r.david.murray, srid, mightyiam, chris.jerdonek, martin.panter, steve.dower, berwin22
2016-09-06 04:44:05vstinnerlinkissue6135 messages
2016-09-06 04:44:05vstinnercreate