Convert to UTF8

The original version was a mix between encodings, which caused problems in the previous conversion to UTF8.