Progress
Internationalization Guide


Character Attribute Tables

A character attribute table tells Progress whether an element of a code page represents a character or not. Non-characters include numerals, punctuation, spaces, and carriage returns.

Figure 3–1 shows code page 1256’s character attribute table, the first table in the arabic.dat file.

# This table contains the attributes for code page 1256 
CODEPAGE 
CODEPAGE-NAME "1256" 
TYPE "1" 
ISALPHA 
  /*000-015*/  000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 
  /*016-031*/  000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 
  /*032-047*/  000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 
  /*048-063*/  000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 
  /*064-079*/  000 001 001 001 001 001 001 001 001 001 001 001 001 001 001 001 
  /*080-095*/  001 001 001 001 001 001 001 001 001 001 001 000 000 000 000 000 
  /*096-111*/  000 001 001 001 001 001 001 001 001 001 001 001 001 001 001 001 
  /*112-127*/  001 001 001 001 001 001 001 001 001 001 001 000 000 000 000 000 
  /*128-143*/  000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 
  /*144-159*/  000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 
  /*160-175*/  000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 
  /*176-191*/  000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 
  /*192-207*/  000 001 001 001 001 001 001 001 001 001 001 001 001 001 001 001 
  /*208-223*/  001 001 001 001 001 001 001 000 001 001 001 001 000 001 001 001 
  /*224-239*/  000 001 000 001 001 001 001 000 000 000 000 000 001 001 000 000 
  /*240-255*/  001 001 001 001 000 001 001 000 001 000 001 000 000 000 000 000 
ENDTABLE 
ENDCODEPAGE 

Figure 3–1: Code Page 1256’s Character Attribute Table

A character processing table contains a value for each element in the code page. The values are arranged in rows of sixteen. The first value in the first row corresponds to the first element (element 0), the second value in the first row corresponds to the second element (element 1), the first value in the second row corresponds to the seventeenth element (element 16), and the last value in the last row corresponds to the last element (element 255).

The value 1 means the corresponding element is alphabetic, while the value 0 means the corresponding element is not alphabetic. Figure 3–1 shows that elements 67, 210, and 250 are alphabetic, while elements 48, 63, and 238 are non-alphabetic.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095