fixed encoding type
Merge pull request #2 from mikesmithmsm/master

fixed encoding type