Convert to UTF-8

Convert to UTF-8 and some syntax error fixes