added page encoding