Corrected work with encoding on subversion and generate diff

Review Request #6205 — Created Aug. 7, 2014 and discarded — Latest diff uploaded

Information

Review Board
master
934db59...

Reviewers

When repository encoding different from UTF-8, applying unicode (utf-8) diff to non utf-8 original file may cause an error (reviewboard/diffviewer/diffutils.py 'patch' function).
Also in code of both subversion client encoding of repository was hardcoded.