Progress
Internationalization Guide
Case Table
Figure B–2 shows the format of the case table.
Figure B–2: Format Of the Case Table
The CASE keyword signals the start of the table entry. The CASE keyword takes the optional argument NONASCII, used for an EBCDIC code page or for any other code page that does not use standard case rules for the ASCII characters—that is, the characters with numeric values in the range 0–127. The CODEPAGE-NAME keyword precedes the name of the code page the case table applies to. The CASETABLE-NAME keyword precedes the name of the case table. This name cannot exceed 19 characters and can include the characters A–Z and a–z, the numerals 0–9, and the dash (-).
In the UPPERCASE-MAP section, each number represents the value of the corresponding character’s uppercase equivalent in the case table’s code page. Similarly, in the LOWERCASE-MAP section, each number represents the value of the corresponding character’s lowercase equivalent in the case table’s code page.
To build a case table for a single-byte code page, provide 256 values in 16 rows of 16 cells. Be sure to format the rows of data exactly as shown.
The ENDTABLE keyword signals the end of the character attribute table. The ENDCASE keyword signals the end of the table entry.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |