Article ID: 103833 - View products that this article applies to.
This article was previously published under Q103833
This article has been archived. It is offered "as is" and will no longer be updated.
You can use different character sets in FoxPro and other programs by changing the code page, as described below. The default code page for U.S. English is 437.
Pressing the ALT key in conjunction with the numbers on the numeric keypad will create extended, or special, characters. Extended characters are those characters above ASCII 127. Different code pages support different extended characters. For example, when you are using code page 437, pressing ALT+157 produces a Y with two short horizontal lines through it. With code page 850, these keys produce a zero with a line through it.
To use different code pages, add the following commands to the CONFIG.SYS and AUTOEXEC.BAT files:
You can also change the code page at the MS-DOS prompt by issuing the following command:
The code page change issued after a RUN command does not affect the current session of FoxPro because the RUN command starts another MS-DOS session.
In Windows, the default code page is 1252; you can change it to 850 or some other code page by quitting Windows and running the Windows Setup program.
Microsoft MS-DOS "User's Guide," version 6.0, pages 238-242, 271-276
Microsoft MS-DOS "User's Guide," version 5.0, pages 352-353, 632-637
Article ID: 103833 - Last Review: February 28, 2014 - Revision: 2.2
Contact us for more help