Fix encoding issue with px:set-doctype