I guess the issue may because DomPDF using "us-ascii" and your "utf-8"... try to play around at the meta tag...
"<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Getting the next error on with DomPDF using Lambda (Vapor)
iconv(): Wrong charset, conversion from utf-8' to us-ascii//TRANSLIT' is not allowed
It does work perfectly on local, but can't find any doc related about this error.
I'm using docker with Laravel Vapor and PHP 7.4 on ->stream()
Please or to participate in this conversation.