The injection of <meta charset="utf-8"> is too late for PhantomJS. Pages are not interpreted in UTF-8, and mangled characters are baked into the (ostensibly UTF-8) output.
Unfortunately, the tag is used by Chrome during local preview, masking the issue.
The injection of
<meta charset="utf-8">
is too late for PhantomJS. Pages are not interpreted in UTF-8, and mangled characters are baked into the (ostensibly UTF-8) output.Unfortunately, the tag is used by Chrome during local preview, masking the issue.
Workaround is to include the tag in the page.