add setCharset
Merge pull request #1 from pondohva/setCharset

add setCharset