Specify the charset to avoid text decoding problems

Fixes #13.
Merge pull request #14 from scintill/encoding

Specify the charset to avoid text decoding problems