Progress
Internationalization Guide


Automatic Input Validation

When you input multi-byte characters, Progress automatically validates the input under certain conditions. Validation of multi-byte characters means Progress checks that the lead byte has a value acceptable for lead bytes in this code page, and that each trail byte has a value acceptable for trail bytes in this code page.

CAUTION: Passing input validation is no guarantee that a multi-byte character is valid. Though its lead byte has an appropriate lead-byte value and each of its trail bytes have an appropriate trail-byte value, the combination of values might still be invalid for the character’s code page.

Table 8–3 describes when validation does and does not occur.

Table 8–3: Automatic Validation Of Multi-byte Input 
Data Source
Validation
Keyboard
Progress automatically checks that multi-byte characters are valid.
File
Progress does not check that multi-byte characters are valid, because Progress processes the data as bytes.
READKEY, SET, and UPDATE Statements
Progress automatically checks that multi-byte characters are valid, whether they came from the keyboard or from a file.
Progress does not check that the lead-byte and trail-byte values constitute a valid character.
CHR Function
Progress automatically checks that multi-byte characters are valid, whether they came from the keyboard or from a file.


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