Encoding support (fix #4).
Merge pull request #5 from julien-f/encoding

Encoding support (fix #4).
code style
1.1.0