Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343636

Summary: DBCS3.7 Eclipse.org's search function in Help search fails to handle DBCS keywords
Product: [Eclipse Project] Platform Reporter: Kentaroh Noji <kennoji>
Component: User AssistanceAssignee: platform-ua-inbox <platform-ua-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: camle, cgold, kitlo, pwebster
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 343666    
Bug Blocks:    
Attachments:
Description Flags
screen capture none

Description Kentaroh Noji CLA 2011-04-22 04:04:45 EDT
Build Identifier: I20110412-2200

JDK : java full version "JRE 1.6.0 IBM Windows AMD 64 build pwa6460sr9fp1-20110208_03(SR9 FP1)"
OS: Windows 7 Japanese SP1 (64Bit)

Help search function provides Local search and Eclipse.org search. Local search handles DBCS successfully, but Eclipse.org search fails to handle DBCS. This problem happens with Latin-1 characters such as "À" (U+00C0), too. 
DBCS keywords are converted %hh representation (URL encoding) in Eclipse keyword search input field, but %hh is not necessary for the input field. The keywords should be placed in the input field as is.   

Reproducible: Always

Steps to Reproduce:
1.Help > Search
2.Click the triangle before "Scope", and then check "Eclipse.org", uncheck "Local Help".  
3.Enter non-US ASCII characters such as "À"in the "Search expression" input field. 
4. Click "Go" button.
5. Ensure Eclipse.org returns (1 hit), and then click "Web Search". 
6. Click "Search" button in Eclipse Search web page. 
7. Fails to search non US ASCII characters (including DBCS).
Comment 1 Kentaroh Noji CLA 2011-04-22 04:07:50 EDT
Created attachment 193904 [details]
screen capture
Comment 2 Chris Goldthorpe CLA 2011-04-22 15:49:22 EDT
I just debugged this and it looks as though the problem is at the eclipse.org website. The help system opens this url on eclipse.org

http://eclipse.org/search/search.cgi?q=%C3%80&ul=&ps=20&m=all

which is redirected to this page

http://www.eclipse.org/projects/searchpage.php?q=%25C3%2580&ul=&ps=20&m=all

The URI is getting encoded a second time causing the failure to find a search result, the redirect should be going to 

http://www.eclipse.org/projects/searchpage.php?q=%C3%80&ul=&ps=20&m=all

I will file a bug against eclipse.org
Comment 3 Chris Goldthorpe CLA 2011-04-29 13:52:07 EDT
I have created Bug 343666 to track the issue with eclipse.org.

*** This bug has been marked as a duplicate of bug 343666 ***