google adsense 搜索框出现乱码的完美解决办法
发现输入中文进行搜索.得到的结果却全是乱码。在网上搜索一下,找到了问题的所在。
只是需要将一个地方改一下.
将
<input type=hidden name=ie value=GB2312>
<input type=hidden name=oe value=GB2312>
改成:
<input type="hidden" name="ie" value="utf-8">
<input type="hidden" name="oe" value="utf-8">
当然不能直接在代码里面修改了,可以在刚刚设置里面,将“网站编码”设置为 "unicode utf-8"。![]()
现在再看看效果吧。一切OK了。
摸索了一阵子,调整好各种参数,终于做好了适合自己的google adsense 搜索框
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply