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 ncoghlan
Recipients Arfrever, ezio.melotti, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2013-08-24.00:26:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CADiSq7cRxXz=+8=2Q2iKeJqMZtbs3UpvVUDJ9AwAKcmZ9c7eSA@mail.gmail.com>
In-reply-to <1377295320.09.0.698517983989.issue18814@psf.upfronthosting.co.za>
Content
The use case is to take data from a surrogate escaped interface and either
filter it out entirely or convert it to a valid Unicode string at the point
of *input*, before letting it make its way into the rest of the
application. For example, this approach permits the Python equivalent of
the Linux console behaviour when it attempts to display the improperly
encoded file name.

This approach is likely to be easier to implement in cross-platform code
than dropping down to the bytes interfaces on POSIX systems and using the
Unicode APIs on Windows.
History
Date User Action Args
2013-08-24 00:27:00ncoghlansetrecipients: + ncoghlan, pitrou, vstinner, ezio.melotti, Arfrever, r.david.murray, serhiy.storchaka
2013-08-24 00:27:00ncoghlanlinkissue18814 messages
2013-08-24 00:26:59ncoghlancreate