change encode