Fix compile errors with utf8Decode