Microsoft KB Archive/833647

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

Article ID: 833647

Article Last Modified on 11/27/2007

-

APPLIES TO


 * Microsoft Content Management Server 2002 Service Pack 1a

-



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:  Encode the template. To do this:  Open Microsoft Windows Explorer, and then locate the MCMS installation directory:

\Program Files\Microsoft Content Management Server\Sample Data\WoodgroveASP\Templates\

  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 = &quot;UTF-8 %> For Japanese encoding, add the following to each of the ASP template files: <% CODEPAGE = 932 %> and <% Charset = &quot;Shift_Jis&quot; %>   Add the code page and the character set to the templates in the Template Gallery item:  Open the Microsoft Visual Studio .NET integrated development environment (IDE), and then open an MCMS Web project. In the Visual Studio .NET IDE, open the template gallery items that the WoodgroveASP sample site uses.</li> Check out the template gallery items that the WoodgroveASP sample site uses.</li> 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.</li></ol> </li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.

<div class="references_section">