Will this PDF give you text?
Try selecting a sentence in any PDF viewer before you start. If the highlight follows individual words, the page has a text layer and extraction will work. If the whole page highlights as one block, or nothing highlights at all, the page is an image and nothing will appear under that page's marker in the output.
Two cases produce text that looks wrong. Scans that were run through OCR carry an invisible layer of recognised text, and extraction returns exactly what the OCR guessed, misreadings included, such as rn read as m or a capital O read as zero. Some PDFs embed fonts without a map from glyphs back to letters; pasting from a viewer then produces nonsense, and so does extraction. Exporting the document again from its source, or running OCR on it, is the way around both.