modify page encoding