vbauer / manet

Website screenshot service powered by Node.js, SlimerJS and PhantomJS
MIT License
575 stars 102 forks source link

UTF-8 Charset #46

Closed quentinfayet closed 8 years ago

quentinfayet commented 8 years ago

Hello,

When using Manet (http://manet.herokuapp.com/) to screenshot a website that contains UTF-8 charset (such as Japanese website, for example), all non-latin characters appear to be transformed into little squares.

For example:

http://manet.herokuapp.com/?url=http%3A%2F%2Fwww.gundam.info%2F&agent=Firefox&headers=Accept-Charset%3Dutf-8&engine=phantomjs

I set the header Accept-Charset=utf-8.

Is there another configuration to be set for utf-8 characters to be well displayed ?

quentinfayet commented 8 years ago

The problem was that I didn't have the japaneses fonts installed into the container.