bugfix for ingoring the encoding
Merge pull request #47 from fly2best/bugfix-encoding

bugfix for ingoring the encoding