Set text codec to UTF-8, fixes #102