Detect system encoding
Merge pull request #4 from clemdherbe/master

Detect system encoding