option - UTF32-string, escape type or substitution string (see below)
status - shared uint32, set to ICU error code if conversion fails
length - shared uint32, returns the length of the target field.
Added:
> >
source length - the length of the source text (performance boost)
You can use "action" to control the behavior of this function if a conversion error occurs (in this function, an error occurs when a codepage character cannot be transcoded into UTF-32). "action" can be one of the following:
STOP - conversion stops on first error
SKIP - conversion skip offending character
Line: 184 to 191
UNICODE - specifies Unicode escaping (U+XXXXX)
DECIMAL - specifies XML decimal escaping ()
X - specifies XML hex escaping ()
Added:
> >
Example:
Added:
> >
PASS --- TEMP 32K FIELD SHARE? Y
PASS TST WORK RAW 32K FIELD SHARE? Y
PASS UTF-16LE FIELD SHARE? N
Line: 192 to 201
PASS DECIMAL FIELD SHARE? N
PASS --- SI FIELD SHARE? Y
PASS --- LI FIELD SHARE? Y
Added:
> >
PASS --- II FIELD SHARE? N
CALL .UC_TO_UCODE RESIDENT? N END? N FAIL 0
*
TEMP 32K contains UTF-32 version of TST WORK RAW 32K