Microsoft Knowledge Base Email Alertz

Double-byte character set (DBCS) characters that appear in the Research pane are corrupted when you use the Research pane to search for documents on a SharePoint Portal Server 2003 portal site

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 915427 - Last Review: October 9, 2011 - Revision: 3.0

Double-byte character set (DBCS) characters are corrupted when you use the Research pane to search for documents on a SharePoint Portal Server 2003 portal site

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://kbalertz.com/Feedback.aspx?kbNumber=256986/ ) Description of the Microsoft Windows registry

On This Page

SYMPTOMS

Consider the following scenario. You add a Microsoft Office SharePoint Portal Server 2003 portal site to the Research service in a Microsoft Office 2003 program, such as Microsoft Office Word 2003. Then, you use the Research pane to search for documents on the portal site that contain double-byte character set (DBCS) characters. In this scenario, documents that contain DBCS characters are returned in the search results in the Research pane. However, the DBCS characters that appear in the Research pane are corrupted. You cannot read the DBCS characters in the title and in the description of the documents that are listed in the Research pane.

CAUSE

This issue occurs because SharePoint Portal Server 2003 converts XML code that is returned by the SharePoint Portal Server 2003 Search service to the Unicode UTF-8 encoding format. SharePoint Portal Server 2003 performs this action to avoid having XML characters that are not recognized in the XML schema. DBCS characters that appear in the Research pane of the Office 2003 program are corrupted because the Research service does not decode the UTF-8-encoded information.

RESOLUTION

This problem was first fixed in a hotfix that is now contained in a service pack. If you installed the latest SharePoint Portal Server 2003 service pack, you do not have to install the hotfix.

Service pack information

This problem is corrected in SharePoint Portal Server 2003 Service Pack 3.To resolve this problem, obtain the latest service pack for SharePoint Portal Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
889380  (http://kbalertz.com/Feedback.aspx?kbNumber=889380/ ) How to obtain the latest service pack for SharePoint Portal Server 2003

After you install the service pack, follow the steps that are listed in the "How to enable the hotfix" section of the article to set the
EncodeQueryWebServiceXMLWithSpace
registry key and to activate the hotfix.

Hotfix information

How to obtain the hotfix

This issue is fixed in the SharePoint Portal Server 2003 post-Service Pack 2 Hotfix Package that is dated June 16, 2006. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
919175  (http://kbalertz.com/Feedback.aspx?kbNumber=919175/ ) Description of the SharePoint Portal Server 2003 post-Service Pack 2 hotfix package: June 16, 2006

How to enable the hotfix

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To enable this hotfix, follow these steps:
  1. Quit SharePoint Portal Server 2003.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Locate and then click to select the following registry key:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Sharepoint Portal Server
  4. After you select the key that is specified in step 3, point to New on the Edit menu, and then click DWORD Value.
  5. Type EncodeQueryWebServiceXMLWithSpace, and then press ENTER.
  6. Right-click EncodeQueryWebServiceXMLWithSpace, and then click Modify.
  7. In the Value data box, type 1, and then click OK.
  8. On the File menu, click Exit to quit Registry Editor.
After you enable this hotfix, the SharePoint Portal Server 2003 Search service replaces XML characters that are not recognized in the XML schema with space characters instead of converting the XML characters to the Unicode UTF-8 encoding format.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This problem was first corrected in SharePoint Portal Server 2003 Service Pack 3.

APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
Keywords: 
kbregistry kbshareptportalsvr2003sp3fix kbconfig kbexpertiseinter kbqfe kbbug kbfix KB915427
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate