fixing UnicodeDecodeError
Merge pull request #1 from H1D/patch-1

fixing UnicodeDecodeError