Added charset encoding
Merge pull request #3 from xseignard/master

Added charset encoding