Support UTF8 encoded parameters and return values