modify encodng