![]() |
Text In/Out - Some [HRt] Codes Not Converting |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Symptoms: Some Hard Return codes, [HRt], converted to Soft Return codes, [SRt], while others did not when a user retrieved an ASCII file through the Retrieve (CR/LF to [SRt] in HZone) Text In/Out feature (Ctrl-F5, 1, 3). This also occurs with LetterPerfect. The same concept applies in WPWin 5.1 and 5.2. Solutions: The [HRt] codes that did not convert were not within the HZone. Two solutions exist for this problem: 1. Increase the area of the HZone. 2. Search and Replace (Alt-F2) the [HRt] with an [SRt] by pressing Ctrl-M at the Replace With prompt. How/Why: The CR/LF, (Carriage Return/Line Feed), codes are being converted correctly. If you retrieve the AUTOEXEC.BAT file into Editor and turn Reveal Codes on, you will see that at the end of each line is a ^M and a ^J. A ^M is a soft return and a ^J is a hard return. When the file is retrieved into LetterPerfect or WordPerfect the CR/LF codes are converted to either soft or hard returns depending on the size of the line of text. If the line of text is long enough to be in the Hyphenation Zone then they are converted to Soft Returns. So, unless the line is long enough to enter the Hyphenation Zone it will not be converted to a Soft Return, but to a Hard Return. To work around the problem you can do a search and replace for on ^J for ^M in Editor in binary mode or with WordPerfect 5.1. Currently LetterPerfect won't allow users to search or replace for a ^M. Status: Working as Designed ***|wad|*** Press Enter on link token to view statement. |
Answer:
Details:
Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER. |