utf encoding fix
Merge pull request #3 from forrestgrant/master

utf8/utf16 encoding