pageExtractText: handle WinAnsi and MacRoman encodings