Edit encode in saving file