cheeriojs 解析中文为unicode问题 在使用 cheeriojs 的时候我发现,每当使用 html 方法,中文会默认解析成 unicode. 使用方式如下: var cheerio = require ( 'cheerio' ); var $ = cheerio . load ( '<title>我是中文,我将会被解析成unicode</title>' ); console . log…
cheeriojs 解析中文为unicode问题 在使用 cheeriojs 的时候我发现,每当使用 html 方法,中文会默认解析成 unicode. 使用方式如下: var cheerio = require ( 'cheerio' ); var $ = cheerio . load ( '<title>我是中文,我将会被解析成unicode</title>' ); console . log…
讨论
登录后参与讨论
还没有评论,来说第一句吧。