Condividi tramite


Code Page Dialog Box

Allows you to assign a code page to a .dbf or text file that does not have one.

.Dbf and text files display properly only if they have the correct code pages. Visual FoxPro automatically assigns code pages to these files when you create them. However, .dbf and text files created in previous versions of FoxPro or in other products might not have code pages.

If you check Prompt for Code Page in the Data tab of the Options dialog box, Visual FoxPro prompts you to specify a code page when opening tables or text files that are not marked with a code page. You can also display the Code Page dialog box with the GETCP( ) function.

  • Platform
    Refers to the type of operating system you are using. Your selection determines which code pages are displayed in the Code Page box.
    • All   Displays code pages for all platforms.
    • Windows   Displays only Windows code pages.
    • MS-DOS   Displays only MS-DOS code pages.
    • Macintosh   Displays only Macintosh code pages.
  • Code Page
    Lists all the code pages for the selected platform.
  • Select
    Designates the currently selected code page as the default.

See Also

Open Picture Dialog Box | Save As Dialog Box | Data Tab, Options Dialog Box | GETCP( ) Function | Open Dialog Box | Save As Dialog Box | Developing International Applications