To fix T324170: php8.2 deprecate use of 'HTML-ENTITIES' on mb_convert_encoding the change rGHTFc04e7104d5ce: Parse html as whole document to avoid encoding issues was created in the rGHTF HtmlFormatter package.
Please create a new release to allow including this change into rMW MediaWiki