IS.ECS() |
|
|
The IS.ECS() function tests whether a character string contains ECS characters.
Format
IS.ECS(string)
where
The IS.ECS() function tests whether a character string contains characters outside the 8-bit set and hence requires an ECS mode file or an encoding such as UTF-8 to store it. The function returns True if any of the characters in string is outside the 8-bit set, otherwise it returns False.
Used on a non-ECS mode system, the IS.ECS() function always returns False.
Examples
S1 = 'ABC' S2 = ECHAR(0x03A3) DISPLAY IS.ECS(S1), IS.ECS(S2) 0 1 |