联系柠檬工作室

刚发现google搜索框出了问题,输中文都变成乱码了

原来是head

<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />

字符集是utf8

但google搜索框代码中

<input type=”hidden” name=”ie” value=”GB2312″></input>
<input type=”hidden” name=”oe” value=”GB2312″></input>

字符集是GB2312

改了一下google搜索框代码为

<input type=”hidden” name=”ie” value=”utf-8″></input>
<input type=”hidden” name=”oe” value=”utf-8″></input>

就OK了

但奇怪的是,前几天为什么都正常呢,真不解

看来得好好研究下字符编码问题了

中文真麻烦

相关日志

你可以发表评论引用到你的网站或博客,或通过RSS 2.0订阅这个日志的所有评论。
上一篇:
下一篇:
已有1条评论
电脑技术
05/16/2011

呵呵,我的也是~

我来说两句

  Ctrl+Enter