maxg / handx

Markdown handouts + exercises
Other
2 stars 2 forks source link

Broken character encoding #30

Open maxg opened 5 years ago

maxg commented 5 years ago

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.