FIX: ASCII Character 141 Not Read by FGETS()ID: Q103464 2.00 MS-DOS kbprg kbfixlist kbbuglist The information in this article applies to:
SYMPTOMSThe FGETS() command will not return ASCII character 141 (an "i" with an accent grave) when it sees this character in a file. Instead FGETS() returns a NULL character. This problem occurs no matter what code page is being used.
CAUSEASCII character 141 is recognized as a "soft" return by many other software products. To remain compatible with these products, FoxPro also recognizes this character as a soft return, and thus cannot read this character literally.
STATUSMicrosoft has confirmed this to be a problem in FoxPro 2.0 for MS-DOS. This problem was corrected in FoxPro 2.5 for MS-DOS. NOTE: In FoxPro 2.5 for Windows, CHR(141) does not necessarily return an "i" with an accent grave. The character returned is dependent upon the font being used.
MORE INFORMATIONThe following code segment illustrates this problem:
Additional reference words: FoxDos buglist2.00 fixlist2.50 2.00 2.50
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory:
Solution Type : kbfix
|
|
Last Reviewed: September 22, 1997 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |