brenden / node-webshot

Easy website screenshots in Node.js
2.12k stars 285 forks source link

Why it doesn't show korean in ubuntu 14.04. #147

Closed xpdlf1004 closed 8 years ago

xpdlf1004 commented 8 years ago

var koreanAndEng = "한글" + "Eng"; var htmlString = '<html><head><meta charset="UTF-8"></head><body><h1>' + korean + '</h1></body></html>'; webshot(htmlString, fileName, function(err) {if (err) {});

I use this code to create png file but It doesn't show Korean but show only english like "Eng" in linux ubuntu 14.04. This code is working in mac os but my linux server.