RESOLVED DUPLICATE of bug 9063 25199
Some text escaped as gb2312 on map.sogou.com
https://bugs.webkit.org/show_bug.cgi?id=25199
Summary Some text escaped as gb2312 on map.sogou.com
xlyuan
Reported 2009-04-14 20:21:31 PDT
Build: WebKit-r42277, 2009-04-09 OS: Windows, not test on Mac Other Browsers: Chromium trunk: Fail Firefox3: OK IE8: OK Steps: 1. Launch Safari 2. Go to http://map.sogou.com/ 3. Search text "查询范围" 4. Observe Result: Texts followed with 查询范围 escaped as %C8%AB%B9%FA (which is 全国 escaped as gb2312) Expected: Original text 全国 should display
Attachments
testcase for reproducing this problem (1.40 KB, text/html)
2009-04-15 01:26 PDT, johnnyding
no flags
data file for this testcase (23 bytes, application/xml)
2009-04-15 01:27 PDT, johnnyding
no flags
Mark Rowe (bdash)
Comment 1 2009-04-14 21:39:50 PDT
*** Bug 25200 has been marked as a duplicate of this bug. ***
johnnyding
Comment 2 2009-04-15 01:26:05 PDT
Created attachment 29493 [details] testcase for reproducing this problem The problem is because webkit doesn't support load method for document object. Sogou need to use document.load to load the unescaped data. Firefox supports load method for document object. So it's OK. I wrote a test case based on some js code extracted from http://key.go2map.com/lib/js/k4.js
johnnyding
Comment 3 2009-04-15 01:27:14 PDT
Created attachment 29494 [details] data file for this testcase
johnnyding
Comment 4 2009-04-15 01:38:05 PDT
I believe it's a duplicated bug of https://bugs.webkit.org/show_bug.cgi?id=9063
Jungshik Shin
Comment 5 2009-04-15 12:04:23 PDT
*** This bug has been marked as a duplicate of 9063 ***
Note You need to log in before you can comment on or make changes to this bug.