Microsoft KB Archive/174315

= WD97: Warning When You Save Multilingual Web Page or HTML Document =

Article ID: 174315

Article Last Modified on 1/20/2007

-

APPLIES TO


 * Microsoft Word 97 Standard Edition
 * Microsoft Windows 2000 Standard Edition
 * Microsoft Windows NT 4.0

-



This article was previously published under Q174315



SYMPTOMS
In Microsoft Word 97, when you save a document as Hypertext Markup Language (HTML) or when you save a new Web page, you may receive the following warning message:

This document contains characters that are not in the current language encoding. To preserve them, choose cancel and select the appropriate language encoding. For multilingual documents, use UTF-8.



CAUSE
This message appears when your document contains multiple languages. The Word HTML converter cannot set the correct character set (language encoding) for the document.



RESOLUTION
To correct this problem, follow these steps:  When you get the warning message described in the "Symptoms" section of this article, click OK. On the File menu, click Properties. In the Document Properties dialog box, under For Saving This Page, click to select the correct language set that your document contains, and then click OK.

For example:  When your document contains English and Polish, select Central European.

-or-

 When your document contains English and Russian, select Cyrillic.

</li> On the File menu, click Save.</li></ol>

This sets the language encoding of the document.

If You Have a Problem Completing the Resolution
To set the correct language encoding, your Word document must be saved in the HTML file format before you click Properties on the File menu.

To save as HTML, do one of the following:
 * On the File menu, click Save as HTML.

-or-
 * On the File menu, click Save As. In the Save As dialog box, change the Save as type box to HTML Document, and then click OK.

If the Document Properties dialog box containing the option For saving this page is not displayed when you click Properties on the File menu, or if you are unable to save as HTML, Word may be experiencing any of the following problems:
 * Save as HTML missing on the File menu
 * HTML Document missing in the Save as type box (on the File menu, click Save As)
 * Damaged or missing Windows Registry settings
 * Damaged or missing program files or components

To resolve these problems, use one or more of the following methods:

Method 1: Reinstall Microsoft Word
To reinstall Microsoft Word, follow these steps:
 * 1) Click Start, point to Settings, and then click Control Panel.
 * 2) Double-click Add/Remove Programs. In the list of installed programs, click Microsoft Office 97 (Microsoft Word 97), and then click Add/Remove (on Microsoft Windows 2000, click Change/Remove). If you installed Microsoft Office from a CD, you are prompted to insert the first CD.
 * 3) If a dialog box displays a message that states that programs are running, quit the programs, and then click OK.
 * 4) In the Microsoft Office 97 Setup dialog box, click Reinstall.

Method 2: Run Setup with the /y Switch to Correct the Registry
Setup /y is a switch used by Office Setup and Office program Setup files. It allows a reinstallation of Office without performing file checks or actually reinstalling the files. Setup /y re-registers all Office components and returns the settings to their default values in the registry.

To resolve this problem, try running Setup /y for Word or Office to repair registry corruption.

To run Setup with the /y switch, follow these steps: <ol> Insert the Microsoft Word or Microsoft Office CD-ROM. If you installed Word or Office from floppy disks, insert the Setup Disk 1 in your computer's floppy disk drive.</li> Click Start, and then click Run.</li> In the Open box, type the following, and then click OK:



where  is the letter of the drive that contains the CD or Setup Disk 1.</li> Click Reinstall.</li></ol>

Method 3: Completely Remove Word and Reinstall
To completely remove Microsoft Word and reinstall, follow these steps: <ol> Click Start, point to Settings, and then click Control Panel.</li> Double-click Add/Remove Programs. In the list of installed programs, click Microsoft Office 97 (Microsoft Word 97), and then click Add/Remove (on Microsoft Windows 2000, click Change/Remove). If you installed Microsoft Office from a CD, you are prompted to insert the first CD.</li> If a dialog box displays a message that states that programs are running, quit the programs, and then click OK.</li> In the Microsoft Office 97 Setup dialog box, click Remove All.</li> Run the Eraser 97 utility to remove all remaining Office/Word files and to delete corresponding registry entries.For additional information about the Office 97 File and Registry Eraser utility, click the article number below to view the article in the Microsoft Knowledge Base:

176823 OFF97: Utility to Completely Remove Remaining Office 97 Files

</li> When you are prompted to remove shared components, click Remove All.</li> If you are prompted to restart the computer after Setup is completed, restart the computer.</li> Re-install either Microsoft Word 97 or Microsoft Office 97 for Windows.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
When you save your Web page in Word, the HTML converter writes the language encoding of the document similar to the following:

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">

When your document contains text typed in a different language in addition to English, the document may show incorrect characters when viewed in a Web browser.

To correctly show text typed in a different language, the document language encoding must be set to the language typed. If your document contains text typed in a different language in addition to English, you must specify the specific language encoding of the additional language.

<div class="references_section">