- A device file whose document is not UTF-8 is an error: "the document
in it is not UTF-8".
- A page title that does not decode in its charset is read as
Windows-1252, by matching the result rather than catching.
- Hex digits, charset names and the tests' response heads are read with
bytes->string/lossy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>