node-open-graph icon indicating copy to clipboard operation
node-open-graph copied to clipboard

Problem with other charset, such as GBK

Open kilik52 opened this issue 11 years ago • 3 comments

Some Chinese website use GBK as charset, such as: http://v.163.com/movie/2014/7/0/E/M9UR06H6C_M9UR4JA0E.html

node-open-graph will get unreadable values.

kilik52 avatar Jul 27 '14 07:07 kilik52

Hi, we have same problem with charset windows-1250. Is there any option to workaround this?

windows-1250_charset

jindrichbartek avatar Feb 27 '15 18:02 jindrichbartek

Same issue here.

www.dagbladet.no (Norwegian) uses iso-8859-1

it would be nice if the header was checked and then if everything was converted to UTF8

risto1913 avatar Jul 07 '15 08:07 risto1913

I was almost certain this was fixed with this commit: https://github.com/samholmes/node-open-graph/commit/763e271a8d6ff35e73a5462885d5d5ddd15306d5

I'm not sure why it would be persisting because I'm using UTF8 encoding in the request module. Any ideas?

samholmes avatar Aug 25 '16 20:08 samholmes