Syntax:
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 script 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.
codepage-id
Comments
You may also specify a code page by placing a code-page identifier in the load-options or memory-options 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