change code encode