Decode page according to charset header