Closed Bug 271357 Opened 20 years ago Closed 20 years ago

Yahoo! Search requires encoding parameter "ei=ISO-8859-1" in search URL

Categories

(Mozilla Localizations :: Other, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 270120

People

(Reporter: r_schaffner, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0

Aloha,
could you please be so kind and add the "query encoding" paramter
"ei=ISO-8859-1" to the Yahoo! search URL by default (provided that Firefox 1.0,
in German, continues to send search queries in ISO-8859-1).

Please note the difference:

(without ei=ISO-8859-1)
http://de.search.yahoo.com/search?p=fu%DF&ie=UTF-8&rls=org.mozilla:de-DE:official&fr=moz2

(with ei=ISO-8859-1)
http://de.search.yahoo.com/search?p=fu%DF&ie=UTF-8&rls=org.mozilla:de-DE:official&fr=moz2&ei=ISO-8859-1

The query is for the German word for "foot".
Mahalo, no worries, r.

Reproducible: Always
Steps to Reproduce:
1. select "Yahoo" inside the top-right search box
2. enter "fuß"


Actual Results:  
The search query for "fuß" retrieves search results for "fu" only, meaning: the
final "ß" is being removed.

Expected Results:  
add search query encoding parameter "ei=ISO-8859-1" to Yahoo! search queries, as
long as Firefox DE keeps encoding search phrases as ISO-8859-1.
Strange.
Since the FF patch of bug 136006 is in, the encoding should be UTF-8 by default,
so no need for that (Related bug 258223 will allow to specify an encoding to use).

Or is it that search loads do not use the same code to insert the parameter (as
parameter in shortcuts), and we need to port the patch ?
That should have been bug 123006, not bug 136006.
Aloha,

Jean-Marc, many thanks for your swift answer, I think the key lies in the file 
Yahoo.src of my "searchplugins" installation directory (refering to German 
version of FireFox 1.0):

...
<SEARCH
    version = "7.1" 
   name="Yahoo"
   description="Yahoo Search"
   searchForm="http://www.yahoo.de/r/so"
   method="GET"
   action="http://de.search.yahoo.com/search/de" 
>

<input name="p" user>
<input name="ie" value="UTF-8">
...

Unfortunately, an additional line with "<input name="ei" value="ISO-8859-1">" 
is required for my installation of FireFox (which I downloaded last week for 
Windows).

Because by default, the top-right search box of the browser window, right from 
the "Go" button, is currently sending special characters in ISO-8859-1 encoding 
(fu%DF), and not in UTF-8 encoding (fu%C3%9F).

On a related note:
the right SEARCH action attribute is: http://de.search.yahoo.com/search
the right SEARCH searchForm attribute is: 
http://de.search.yahoo.com/web/advanced

Many, many thanks, your help is highly appreciated.
No worries, r.


Assignee: p_ch → nobody
Component: Search → Other
Product: Firefox → Mozilla Localizations
QA Contact: firefox.search
Adding 'ei=ISO-8859-1' is not a good idea. You'd better add 

queryCharset="utf-8"
queryEncoding="utf-8"

to yahoo.src



*** This bug has been marked as a duplicate of 270120 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.