Don't use filesystem encoding for interpreting XML from TFS.
Review Request #8041 — Created March 8, 2016 and submitted — Latest diff uploaded
A few of the commands we run return XML results, which will always be utf-8,
regardless of what the filesystem encoding is. In this case, we were decoding
to mbcs, which would then fail when trying to interpret some special
characters.
- Ran unit tests.
- Posted a few changes, including one whose parent had unicode in the commit
message (which is what triggered the bug). Saw that everything worked as
expected.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
rbtools/clients/tfs.py |
---|