I'm requesting a website from yql using something like: select * from html where url="http://www.somerandoms开发者_如何学运维ite.com"&format=json&callback=process
The problem is I'm getting weird symbols back like: �
Is this because of yahoo or from the site that I'm using and how can I fix this?
You're probably missing a <meta>
tag which defines the charset
:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
精彩评论