homepage

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 chris.jerdonek, loewis, vstinner
Date 2012年08月09日.00:17:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344471461.67.0.603097282527.issue15595@psf.upfronthosting.co.za>
In-reply-to
Content
There is a bug, but I'm not conviced that multibyte encodings are used as locale encoding.
About your patch: you should test the 3 types of newlines, so use a string like: '1\r\n2\r3\n4'.
+ # Popen() defaults to locale.getpreferredencoding(False).
+ locale.getpreferredencoding = lambda do_setlocale: 'utf-16'
FYI it's not directly Popen() which uses the locale encoding, but TextIOWrapper.
History
Date User Action Args
2012年08月09日 00:17:55vstinnersetrecipients: + vstinner, loewis, chris.jerdonek
2012年08月09日 00:17:41vstinnersetmessageid: <1344471461.67.0.603097282527.issue15595@psf.upfronthosting.co.za>
2012年08月09日 00:17:39vstinnerlinkissue15595 messages
2012年08月09日 00:17:35vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /