unix: Add default encoding based on system language configuration
Use short lang code for Thai
Merge pull request #66 from fdelapena/master

unix: Add default encoding based on system language configuration