User Tools

Site Tools


codepage.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >PROP:Codepage Previous pageReturn to chapter overviewNext page

Setting PROP:Codepage and PROP:Locale properties respectively for the internal SYSTEM variable,

for example:
 
SYSTEM {PROP:Codepage} = 1253        !Greek

SYSTEM {PROP:Locale} = 1032                !Greek

It is recommended to set the desired locale id to provide the Clarion RTL with the names and abbreviations of months, days of week, AM/PM identifiers and other internationalization settings. If the program does not set the codepage and locale id, the RTL uses the defaults for the current Windows user.

If the codepage and locale should be equal to the current system default values, there is no need to set them explicitly.

Changing the codepage setting at run time (by setting the PROP:Codepage property for SYSTEM or by call to the LOCALE function) resets all previous settings for CLACHARSET, CLASYSCHARSET, CLACASE, CLACOLSEQ and CLADIGRAPH parameters. Changing the locale id setting at run time resets all previous settings for CLACASE, CLACOLSEQ, CLADIGRAPH, CLAMONTH, CLAMON, CLADOWNAME, CLADOW, CLAAMPM and CLABUTTON parameters.

Note: The RTL DOES NOT check values of the codepage number or the locale id for compatibility. If the values for the codepage and LCID are not in sync, the result of many operations (comparison, formatting, etc.) is unpredictable. At the time of this writing you can find the list of code pages on MSDN at this address: https://msdn.microsoft.com/en-us/library/windows/desktop/dd317756(v=vs.85).aspx see also:**

PROP:Locale

internationalization

LOCALE

codepage.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1