20080501 为 Internet Explorer 7 添加百度搜索

点搜索图标右边,查找更多提供程序,在 Add Search Providers to Internet Explorer 页面上使用如下 TEST 地址即可:

http://www.baidu.com/s?wd=TEST&ie=utf-8&oe=utf-8

Internet Explorer 7 从搜索框传递给 URL 的关键字为 utf-8 编码,但百度是一家专注中文搜索的公司,默认采用gb2312编码,如果直接添加 http://www.baidu.com/s?wd=TEST 则无法正常搜索中文。

为什么百度不默认采用 utf-8 编码,难道和存储成本有关?



另外一种添加办法是通过编写如下注册表文件(可能不兼容旧版 Windows),存为“为 Internet Explorer 7 添加百度搜索.reg”,双击导入注册表。
Windows Registry Editor Version 5.00 

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\Baidu] 
"DisplayName"="Baidu" 
"URL"="http://www.baidu.com/s?wd={searchTerms}
&rls=com.microsoft:{language}&ie={inputEncoding}&oe={outputEncoding}&startIndex={startIndex?}&startPage={startPage}&cl=3" 
原文地址:https://www.cnblogs.com/likun/p/1178804.html