add charset support
Merge pull request #1 from petrjoachim/default-charset

Add charset support