Microsoft KB Archive/114824

DOSWord Line-Draw Characters Map Incorrectly to WinWord 6.0

PSS ID Number: Q114824 Article last modified on 11-01-1994

6.00 6.00a

WINDOWS

= SYMPTOM =

When you open a Word for MS-DOS document into Word 6.0 or 6.0a for Windows, line-drawing characters are converted incorrectly. Different characters appear in place of some or all of the converted line-drawing characters. This problem occurs when the line-drawing characters were entered using one of three methods:


 * With the Word for MS-DOS internal line-drawing feature
 * As Part of an ASCII screen capture
 * With an ALT+ numeric keypad combination

= CAUSE =

This problem occurs because the line-drawing characters are being treated as any other Extended ASCII (Code Page 437) character and are being mapped to perceived equivalents in the ANSI symbol set used by Word for Windows. Instead, the numeric values for line drawing characters should be mapped directly (for example, character 176 should map to character 176) so that these characters can subsequently be displayed by the MS Linedraw font in Word for Windows.

= STATUS =

Microsoft has confirmed this to be a problem in the Word for MS-DOS converter supplied with Microsoft Word versions 6.0 and 6.0a for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

= WORKAROUNDS =

NOTE: Workaround # 1 does not work with a Word for MS-DOS ver. 4.0 file that has linedraw characters in it.

Method 1: If there are no extended characters other than MS-DOS Code Page 437 (Extended ASCII) line drawing characters 176 through 223 in your Word for MS-DOS document, do the following:

1. Reopen the document in Word for MS-DOS and save it as RTF format.

2. Open the resulting RTF file in Word 6.0 for Windows as Text Only.

3. Replace the string &quot;\pc&quot; that appears on the first line of the RTF file with &quot;\ansi&quot; (without the quotation marks).

4. Resave as Text Only, and then open as RTF into Word for Windows.

5. If Courier PC does is not the font that appears on the ruler for line-drawing characters, and/or the line-drawing characters still do not appear correctly, select the converted line drawings and format them with the MS Linedraw font.

Line drawing appearance will be restored. If your Word for MS-DOS document contains other extended characters, they will not be     converted correctly if you follow this step. If this occurs, you can select the entire converted document and apply the MS     Linedraw font to restore character appearance. Method 2: If only a small number of line-drawing characters in your document are converted incorrectly, you can search and replace these characters following conversion with the correct characters from the MS Linedraw font.

KBCategory: kbinterop KBSubCategory: Additional reference words: textconv conversion converted converts transfer transfers translation translate problem 6.00 6.00a linedraw linedrawing linedrawings lst capture.com capture screen shot shots ============================================================================= Copyright Microsoft Corporation 1994.