Merge to_utf8 - Fix many character encoding issues