rename encoding