diff options
author | jungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-24 19:51:35 +0000 |
---|---|---|
committer | jungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-24 19:51:35 +0000 |
commit | fd36c690baaa61a0be4cd28842097b43a9b2c858 (patch) | |
tree | 5baef825842ff01dfb60b4dd3eea905921963d0a /chrome | |
parent | b9bc551a6c11f0cf4726bc6c02687e3ed866a802 (diff) | |
download | chromium_src-fd36c690baaa61a0be4cd28842097b43a9b2c858.zip chromium_src-fd36c690baaa61a0be4cd28842097b43a9b2c858.tar.gz chromium_src-fd36c690baaa61a0be4cd28842097b43a9b2c858.tar.bz2 |
Disable 'suggest' for voila and orange (both use voila) because the result comes back in ISO-8859-1.
Change the encoding for voila to ISO-8859-1. The front page of Voila.fr is in UTF-8 but the search result pages are
in ISO-8859-1 and voila.fr expects a query to be in ISO-8859-1.
BUG=2722
TEST=Set your default search engine to voila (in French Chrome) and type a keyword with accented letters. It should come back correctly in the search result page.
Review URL: http://codereview.chromium.org/4068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/template_url_prepopulate_data.cc | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/chrome/browser/template_url_prepopulate_data.cc b/chrome/browser/template_url_prepopulate_data.cc index 5159a26..ca92cd4 100644 --- a/chrome/browser/template_url_prepopulate_data.cc +++ b/chrome/browser/template_url_prepopulate_data.cc @@ -1417,8 +1417,12 @@ const PrepopulatedEngine orange = { L"http://www.orange.fr/favicon.ico", L"http://rws.search.ke.voila.fr/RW/S/opensearch_orange?rdata={searchTerms}", "ISO-8859-1", - L"http://search.ke.voila.fr/fr/cmplopensearch/xml/fullxml?" - L"rdata={searchTerms}", + // Response is in ISO-8859-1 and is labelled as such in HTTP C-T header. + // L"http://search.ke.voila.fr/fr/cmplopensearch/xml/fullxml?" + // L"rdata={searchTerms}", + // Until http://b/1293145 is fixed or we figure out how to get responses + // in UTF-8, disable it. + NULL, 48, }; @@ -1741,9 +1745,13 @@ const PrepopulatedEngine voila = { L"voila.fr", L"http://search.ke.voila.fr/favicon.ico", L"http://rws.search.ke.voila.fr/RW/S/opensearch_voila?rdata={searchTerms}", - "UTF-8", - L"http://search.ke.voila.fr/fr/cmplopensearch/xml/fullxml?" - L"rdata={searchTerms}", + "ISO-8859-1", + // Response is in ISO-8859-1 and is labelled as such in HTTP C-T header. + // L"http://search.ke.voila.fr/fr/cmplopensearch/xml/fullxml?" + // L"rdata={searchTerms}", + // Until http://b/1293145 is fixed or we figure out how to get responses + // in UTF-8, disable it. + NULL, 47, }; @@ -3008,7 +3016,7 @@ void RegisterUserPrefs(PrefService* prefs) { } int GetDataVersion() { - return 13; // Increment this if you change the above data in ways that mean + return 14; // Increment this if you change the above data in ways that mean // users with existing data should get a new version. } |