Merge pull request #21 from NicolasDP/master

Fix TXT encoding