rc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CODEPAGE (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
 
                  The Resource Compiler CODEPAGE Statement
 
CODEPAGE codepage-id
 
The CODEPAGE statement sets the code page for all subsequent resources. The
code page specifies the character set used for characters in the resource.
 
If the CODEPAGE statement is not given in a resource-definition file, rc
uses the code page set up for the individual system. If more than one
CODEPAGE statement is given in the file, each CODEPAGE statement applies to
the resource statements between it and the next CODEPAGE statement.
 
Field        Description
────────────────────────────────────────────────────────────────────────────
 
codepage-id  Identifies the code page to be used for subsequent resources.
             This value can be one of the following:
 
             Code-page ID  Character set
             ───────────────────────────────────────────────────────────────
             437           United States
 
             850           Multilingual
 
             860           Portuguese
 
             863           Canadian French
 
             932           Japanese
 
Comments
 
You may also specify a code page by placing a code-page identifier in the
load-option or mem-option field of any rc statement that uses those fields.
 
Example
 
In this example, the code page for the character-string resources is set to
Portuguese (860).
 
CODEPAGE 860
 
STRINGTABLE
BEGIN
    1 "Filename not found"
    2 "Cannot open file for reading"
END
 
                                      ♦