Fix UTF-8 bug

Closes #79