Closed Bug 484244 Opened 16 years ago Closed 16 years ago

when press "enter" again,result from search field is Chinese disorderly code

Categories

(Firefox :: Address Bar, defect)

3.5 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 461304

People

(Reporter: vzless, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 1.i will fill a chinese word ,such as"测试(test)", in the search field, then press "enter",the result will be ok. 2.And then ,there will be an result url auto fill the address field eg. http://www.google.cn/search?q=%E6%B5%8B%E8%AF%95%28test%29&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:zh-CN:official&client=firefox-a 3.Keep the url unmodify,I press the "Enter" key again,the result page will be Chinese disorderly code. This bug is exist in 3.0.6,3.0.7 or 3.1 beta3 Reproducible: Always Steps to Reproduce: 1.i will fill a chinese word ,such as"测试(test)", in the search field, then press "enter",the result will be ok. 2.And then ,there will be an result url auto fill the address field eg. http://www.google.cn/search?q=%E6%B5%8B%E8%AF%95%28test%29&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:zh-CN:official&client=firefox-a 3.Keep the url unmodify,I press the "Enter" key again,the result page will be Chinese disorderly code. This bug is exist in 3.0.6,3.0.7 or 3.1 beta3 Actual Results: the result page will be Chinese disorderly code.
Version: unspecified → 3.1 Branch
Gen, could you have a look at this bug and tell me what the main issue is here? I'm not familiar with the Chinese language. Thanks.
I have found the way to solve it. The url generated by the search field is code in UTF-8,but the address field is code in GBK(Beacuse my Widows XP's local is zh_CN) Then default value of "network.standard-url.encode-query-utf8" is "false",then i set it to "true" the problem has gone. Thanks. But,I suggest that you set it true as default in the next version for a windows user.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Component: Search → Location Bar and Autocomplete
QA Contact: search → location.bar
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.