insert encode setting in a front page