Fix enconding errors (PEP263)

As commentet in #55 I resend the pull request to the develop branch