Set encoding on all pages