Rename and change encoding