add charset option
Merge branch 'master' of github.com:snandy/io