python3 support

version of file for python 3 support. Now it parses unicode strings without problem.