Code Page Information Stored in Byte 29 of Table Header

Last reviewed: December 15, 1997
Article ID: Q111322
2.50a 2.50b 3.00| 2.50a 2.50b | 2.50b
WINDOWS         | MS-DOS      | MACINTOSH
kbprg

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5a and 2.5b
  • Microsoft FoxPro for MS-DOS, versions 2.5a and 2.5b
  • Microsoft FoxPro for Macintosh, version 2.5b

SUMMARY

Code page information is stored in byte 29 of the header of a database (table) file (.DBF).

NOTE: The first byte in the header of a database is referred to as 0 byte. If the first byte if referred to as 1, then the code page is 30.

MORE INFORMATION

The program CPZERO.PRG is automatically installed in your main FoxPro directory in FoxPro version 2.x. In Visual FoxPro, the CPZERO.PRG program is located in the VFP\TOOLS\CPZERO directory. CPZERO.PRG is provided to reset a table's code page to zero. To see an example of how to modify a table's code page, view the contents of CPZERO.PRG.


Additional reference words: VFoxWin 3.00 FoxMac FoxDos FoxWin 2.50a 2.50b
codepage set
collate
to
KBCategory: kbprg
KBSubcategory: FxprgIntl
Keywords : FxprgIntl kbprg
Version : 2.50a 2.50b 3.00| 2.50a 2.50b |
Platform : MACINTOSH MS-DOS WINDOWS


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: December 15, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.