Convert scripts to UTF-8 before compilation