Closed Bug 161181 Opened 22 years ago Closed 22 years ago

Change google.src to send UTF-8

Categories

(SeaMonkey :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 145375

People

(Reporter: nhottanscp, Assigned: nhottanscp)

Details

(Keywords: intl)

http://lxr.mozilla.org/seamonkey/source/xpfe/components/search/datasets/google.src Google server can accept UTF-8. Mozilla's google.src file can send UTF-8 which allows the user to search characters not included in ISO-8859-1. Two changes are needed. Add queryCharset="UTF-8" to search section to mozilla to generate UTF-8 query. Add <input name="ie" value="UTF-8"> to notify the server the charset of the query.
Status: NEW → ASSIGNED
Keywords: intl
Also need to add output charset, so the result page is returned as UTF-8 too. <input name="oe" value="UTF-8"> and in interpret section, charset="UTF-8" Doing this has a problem when the result page is not return as UTF-8. That can happen when google search is invoked non UTF-8 pages (e.g. http://wp.netscape.com/zh-cn/). We need to change internet search code to parse the charset of the result page and override the default value specified in the .src file.
*** This bug has been marked as a duplicate of 145375 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.