zoukankan      html  css  js  c++  java
  • 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" 
  • 相关阅读:
    youtube-VisualSfM and MeshLab workflow video-meshlab part integration
    testing_lab1
    homework2-st
    homework1-spm
    homework1-st
    just one last blog
    week 10
    week 9
    week 8
    课后题7
  • 原文地址:https://www.cnblogs.com/likun/p/1178804.html
Copyright © 2011-2022 走看看