Article ID: 929258
Article Last Modified on 2/8/2007
APPLIES TO
- Microsoft Windows SharePoint Services
- Microsoft Office SharePoint Portal Server 2003
SYMPTOMS
You replace the default site context search box with a custom site context search box that uses Microsoft SharePoint Portal Server search results. When you use this custom site context search box to search a document that has special characters, you receive an invalid search result.
For example, you have a document that has German characters and that has been indexed. You type the following address in the URL dialog box and then press ENTER:
When you do this, you receive an invalid search result. Additionally, when you view the custom site context search box, you find that the word "veröffentlichten" is missing the "ö" character.
CAUSE
This issue occurs when you use the JavaScript escape function to encode the URL when you create the custom site context search box. The escape function cannot encode special characters correctly.
RESOLUTION
To resolve this issue, use the escapeProperty function when you create the custom site context search box. This function is defined in the Ows.js file. This function can encode the URL correctly.
MORE INFORMATION
For more information about how to create a site context search box that uses SharePoint Portal Server search results, visit the following Microsoft Web site:
Additional query words: SPS WSS
Keywords: kbtshoot kbexpertiseinter kbexpertisebeginner kbprb KB929258