Closed Bug 131126 Opened 23 years ago Closed 20 years ago

using the address bar search set to google in hebrew does not work

Categories

(Core :: Internationalization, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: xslf, Assigned: smontagu)

References

()

Details

MAC 9.2 , with the 0.9.9 milestone mozilla: When attempting to perform a hebrew search in google .com using mozilla search from the address bar, I always get 0 results. however, searching in hebrew in google.com from using IE5 win, works fine. Also, google.co.il works fine . to repro: set your search to use google, and then try to use it from the address bar to search a word in hebrew.
from the url in the address bar, it looks that the keywords are encoded diffrently. compare for example the same search term: http://www.google.com/search?q=%3F%3F%3F%3F%3F%3F%3F&sourceid=mozilla-search from the address bar, to the same word typed into google.co.il search box: http://www.google.co.il/search?q=%EE%F7%E9%F0%E8%E5%F9&hl=iw&ie=ISO-8859-8-I&oe=ISO-8859-8-I
Severity: normal → major
%3F is ?, so the encoding is not being recognized when typing in the address bar.
*** This bug has been marked as a duplicate of 119825 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
hmm... just tried today directly at google.com : from Mozilla mac typing in a search directly in google.com brings the same result like from the address bar, while typing in hebrew in google com from ie win works. evangalisem? something else?
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
So the solution is simple -- always pass searched text in UTF-8 encoding to www.google.com and append the ie=UTF-8 and oe=UTF-8 fields to the URL. With those, searching www.google.com for a UTF-8 Hebrew string is just as good as searching www.google.co.il for the same string in ISO-8859-8-I encoding. I'm not sure whether other search engines can handle UTF-8, but there's no better solution for searching for multilingual text anyway. Also, change the OS and Platform to All -- it should affect all platforms (my Linux box included).
OS: Mac System 9.x → All
Hardware: Macintosh → All
This now works for me on Windows (since bug 145375 was fixed). Does it work on Mac?
This has nothing to do with BiDi layout. Moving to Internationalization.
Assignee: mozilla → smontagu
Status: REOPENED → NEW
Component: Layout: BiDi Hebrew & Arabic → Internationalization
QA Contact: zach → amyy
(In reply to comment #7) > This now works for me on Windows (since bug 145375 was fixed). Does it work on Mac? Actually, yes. WFM with Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727. So resolving WORKSFORME. Please reopen if you can reproduce.
Status: NEW → RESOLVED
Closed: 23 years ago20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.