fix provider function name encoding from unicode arguments