Added Encoding to PortalHeader