Replace non-latin symbols and use UTF-8 encoding

Fixes #9