use UTF8 encoding by default
Merge pull request #1444 from dvv/master

Use UTF8 encoding by default