invalid bareword "convertToUTF8"
in expression "convertToUTF8";
should be "$convertToUTF8" or "{convertToUTF8}" or "convertToUTF8(...)" or ...