FIX: The Windows Help viewer does not display the automatic formatting symbols correctly (296597)



The information in this article applies to:

  • Microsoft Windows 2000

This article was previously published under Q296597

SYMPTOMS

When you view a Windows Help (WinHelp) file on a computer that is running Microsoft Windows 2000, some of the characters are not displayed correctly. The characters appear as a thick vertical line.

CAUSE

This behavior occurs if the rich text format (RTF) file that is used to create the WinHelp file contains the following RTF codes:
  • \rdblquote
  • \ldblquote
  • \endash
  • \emdash
The WinHelp viewer in Windows 2000 cannot correctly interpret these codes. Microsoft Word uses these codes for the following automatic formatting options:
  • "Straight quotes" with "smart quotes"
  • Symbol characters (--) with symbols (-)

RESOLUTION

To resolve the problem, turn off the relevant automatic formatting options in Word, remove the codes from the .rtf file, and then recompile the WinHelp project.

To turn off the automatic formatting options in Microsoft Word 97, follow these steps in Word:

Note A document must be open.
  1. On the Tools menu, click AutoCorrect. The AutoCorrect dialog box appears.
  2. Click the AutoFormat As You Type tab, and then clear the following check boxes:
    • "Straight quotes" with "smart quotes"
    • Symbol characters (--) with symbols (-)
  3. Click OK.
Note Turning off these options does not affect the existing RTF text.

To remove the RTF codes from the .rtf file by using Word 97, follow these steps:
  1. On the Edit menu, click Replace. The Find and Replace dialog box appears.
  2. If the advanced find options are not displayed in the Find and Replace dialog box, click More.
  3. Click in the Find what box, click Special, and then click En Dash.
  4. Type - (a dash character) in the Replace with box.
  5. Click Replace All. You see a Microsoft Office Word dialog box with text that is similar to the following:Word has completed its search of the document and has made 3 replacements.
  6. In the Microsoft Office Word dialog box, click OK.
  7. Click in the Find what box, click Special, and then click Em Dash.
  8. Type - (a dash character) in the Replace with box.
  9. Click Replace All. You see a Microsoft Office Word dialog box with text that is similar to the following:Word has completed its search of the document and has made 3 replacements.
  10. In the Microsoft Office Word dialog box, click OK.
  11. Press the NUM LOCK key to turn on the numeric keypad.
  12. On the Edit menu, click Replace.
  13. Click in the Find what box.
  14. Hold down the ALT key, use the numeric keypad to type 0147, and then release the ALT key. This is the keyboard shortcut for the left double quotation mark (\ldblquote).
  15. Type " (a double quotation mark) in the Replace with box.
  16. Click Replace All. You see a Microsoft Office Word dialog box with text that is similar to the following:Word has completed its search of the document and has made 3 replacements.
  17. In the Microsoft Office Word dialog box, click OK.
  18. Click in the Find what box.
  19. Hold down the ALT key, use the numeric keypad to type 0148, and then release the ALT key. This is the keyboard shortcut for the smart double closing quotation mark (\rdblquote).
  20. Type " in the Replace with box.
  21. Click Replace All. You see a Microsoft Office Word dialog box with text that is similar to the following:Word has completed its search of the document and has made 3 replacements.
  22. In the Microsoft Office Word dialog box, click OK.
  23. Save the .rtf file.
  24. Recompile the Help project.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. This bug was corrected in Microsoft Windows XP and later.

MORE INFORMATION

Word 2000 does not use the \ldblquote and \rdblquote RTF codes for the smart quotes option. If you use Word 2000 to open, to edit, and to save a Word 97 .rtf file that contains these two RTF codes, these two RTF codes are automatically converted to the corresponding character codes.

Modification Type:MajorLast Reviewed:7/26/2004
Keywords:kbfix kbhelpfile kbtshoot kbbug KB296597 kbAudDeveloper