Exporting via the CLI with PHP 8.2 results in:
07:44:11 INFO [php] Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead [ "exception" => ErrorException { #message: "Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead" #code: 0 #file: "./src/Util/Util.php" #line: 189 #severity: E_DEPRECATED trace: { ./src/Util/Util.php:189 { App\Util\Util::buildDOMDocumentFromHtml(string $html): DOMDocument^ › libxml_use_internal_errors( true ); › $document->loadHTML( mb_convert_encoding( str_replace( '<?xml version="1.0" encoding="UTF-8" ?>', '', $html ), 'HTML-ENTITIES', 'UTF-8' ) ); › libxml_clear_errors(); } ./src/Util/Api.php:155 { …} ./src/Generator/EpubGenerator.php:434 { …} ./src/Generator/EpubGenerator.php:89 { …} ./src/BookCreator.php:50 { …} ./src/Command/ExportCommand.php:89 { …}
Presumably this is similar to T324170.