determines encoding by reading the page, extract its encoding, then reload the page and convert the buffer