PRB: Quotation Marks Missing from Compiled Help File

Last reviewed: July 18, 1996
Article ID: Q110540
The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) for Windows versions 3.0 and 3.1
  • Microsoft Win32 SDK, versions 3.5, 3.51, and 4.0

SYMPTOMS

After upgrading from Word for Windows 2.x to Word for Windows 6.x and rebuilding a Windows Help file with HCP.EXE or HC31.EXE, all of the quotation marks are missing from the Help file.

CAUSE

Word 6.x uses a special .RTF keyword to represent the quotation mark character, and the Help compiler does not understand the new .RTF keyword so it drops the character. The same problem occurs for the curly double quotation mark, single quotation mark, en dash (char 150), em dash (char 151), and the bullet character (char 149).

RESOLUTION

You can prevent this problem by turning off the "Smart Quotes" option in Word for Windows. The following three steps accomplish this:

  1. Choose Options from Tools menu.
2. Select the AutoFormat tab. 3. In the Replace group box, clear the "Straight Quotes with Smart Quotes"
   check box, and choose OK.

If you wish to include smark quotes, bullets, em-dashes, and en-dashes in a Help file, you can open the file as text only and replace the RTF keywords with their ANSI hexadecimal equivalents, which are recognized by the help compiler.

   Find String       Replace String
   -----------       --------------
   \emdash           \'97"
   \endash           \'96"
   \bullet           \'95"
   \rdblquote        \'94"
   \ldblquote        \'93"
   \rquote           \'92"
   \lquote           \'91"

Make sure that there is a blank character included at the end of the Find String, but not in the Replace String.

This replacement must be made every time you edit and convert the text from document to RTF format.


Additional reference words: 3.10 3.50 4.00
KBCategory: kbtool kbprg kbprb
KBSubcategory: TlsHlp


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 18, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.