Fix more unicode issues in diff parsing.

Review Request #5540 — Created Feb. 24, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
70ab700...

Reviewers

A bug came in about parsing hg diffs with unicode characters, which prompted me
to audit all of our scmtools. There were a bunch of issues lurking, most of
which were exposed when I added unit tests.

Ran unit tests.