#1869: use surrogateescape to escape filesystem strings in Unicode
------------------------+----------------------
Reporter: dustin | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 1.0.+
Version: 0.8.3p1 | Keywords: encoding
------------------------+----------------------
PEP 383 introduces a "surrogateencoding" error handler for the
{{{x.decode()}}} method, which allows strings that do not match the
decoding to be "escaped" in the resulting Unicode string in such a way
that they can later be decoded back to the original byte sequence.
The PEP landed in Python 3.1, which doesn't help us very much, but if we
can backport that or use a similar and forward-compatible method to make
sure all filesystem strings are unicode, that would be great
--
Ticket URL: <http://trac.buildbot.net/ticket/1869>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits