change encode.