$ message = (new FormattedMessageFactory())
->withHtml(<p>zażółć gęślą jaźń</p>) ...
I have invalid characters in alternative text.
The problem is probably in AlternativeText::fromHtml($html) which uses: DOMDocument->loadHTML() which recodes characters.
regards
Hello when I use UTF-8 and
I have invalid characters in alternative text. The problem is probably in
AlternativeText::fromHtml($html)
which uses:DOMDocument->loadHTML()
which recodes characters. regards