WoodgroveASP sample site does not display non-English content correctly after you install MCMS 2002 SP1a (833647)



The information in this article applies to:

  • Microsoft Content Management Server 2002 SP1a

SYMPTOMS

If you install the WoodgroveASP sample site, and you then upgrade your Microsoft Content Management Server (MCMS) server to the SP1a refresh build, the sample site does not display non-English content correctly.

CAUSE

The WoodgroveASP sample site is an MCMS sample that demonstrates how to create an MCMS application by using Active Server Pages (ASP) technology that is based on the original released version of MCMS 2002. Because the WoodgroveASP sample site does not have a code page and a character set that a non-English language can use, the WoodgroveASP sample site is not designed for use with the refresh build of MCMS 2002 SP1a. The refresh build of MCMS 2002 SP1a has globalization support. MCMS 2002 SP1a supports only UTF-8 encoding.

WORKAROUND

The default installation of the WoodgroveASP sample site works only with the English build of MCMS. To set the WoodgroveASP sample MCMS Web site to display and to store non-English content when you upgrade to the Service Pack 1a (SP1a) refresh build version of MCMS 2002 (for example, to run the WoodgroveASP sample site on a Japanese build), follow these steps:
  1. Encode the template. To do this:
    1. Open Microsoft Windows Explorer, and then locate the MCMS installation directory:

      CMS installation drive\Program Files\Microsoft Content Management Server\Sample Data\WoodgroveASP\Templates\

    2. Add the encoding directive that you want to each of template ASP files in the MCMS installation directory. For Unicode encoding, add the following to each of the ASP template files:
      <% CODEPAGE = 65001 %>
      and
      <% Charset = "UTF-8 %>
      For Japanese encoding, add the following to each of the ASP template files:
      <% CODEPAGE = 932 %>
      and
      <% Charset = "Shift_Jis" %>
  2. Add the code page and the character set to the templates in the Template Gallery item:
    1. Open the Microsoft Visual Studio .NET integrated development environment (IDE), and then open an MCMS Web project.
    2. In the Visual Studio .NET IDE, open the template gallery items that the WoodgroveASP sample site uses.
    3. Check out the template gallery items that the WoodgroveASP sample site uses.
    4. Set the Codepage property and the Charset property for the template gallery items. For Unicode encoding, set the Codepage property to 65001, and then set the Charset property to UTF-8. For Japanese encoding, set the Codepage property to 932, and then set the Charset property to Shift_Jis.

STATUS

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

REFERENCES

For more information about the code page and the character set that are used in ASP, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MajorLast Reviewed:1/24/2004
Keywords:kbprb KB833647 kbAudDeveloper