Changed encoding to utf8. Closes #26.