gh-108590: Fix sqlite3.iterdump for invalid unicode in text columns and reproducability. by CorvinM · Pull Request #108695 · python/cpython
Fixes an exception where sqlite3.iterdump would fail to decode if someone stuffed invalid unicode into a database column marked as TEXT (or alias of, like VARCHAR).
Added a test to show reproducibility from the dump.
See #108590 for more info