This fixes an issue (#45) that causes a UnicodeDecodeError when installing on Debian and Python 3.3. This patch is released under the GNU LGPL v3.
This fixes an issue (#45) that causes a UnicodeDecodeError when installing on Debian and Python 3.3. This patch is released under the GNU LGPL v3.

It's not immediately clear to me why this issue reproduces on Debian and not other unixes (OSX 10.9 was also tested and worked fine either way).  The documentation for [open](http://docs.python.org/2/library/functions.html#open) suggests the use of binary mode as implemented "will improve portability" so presumably there is some platform default at work here.

This was tested on Python 3.3/Debian and a perusal of the 2.x documentation suggests nothing bad will happen in 2.7.6, but I have not actually tried it.

arcivanov/unittest-xml-reporting,tkanemoto/unittest-xml-reporting,NightBlues/unittest-xml-reporting,haiyangd/unittest-xml-reporting