$UCS4XEw. Informat

Reads a character string that is in the encoding of the current SAS session, and then converts the character string to 32-bit, UCS4, Unicode encoding.
Category: Character

Syntax

$UCS4XEw.

Syntax Description

w
specifies the width of the input field. Specify enough width to accommodate the 32-bit size of the Unicode characters.
Default:8
Range:1–32000

Comparisons

The $UCS4XEw. informat performs processing that is the opposite of the $UCS4Xw. informat.

Example

This example uses the Japanese Shift_JIS encoding, which is supported under the UNIX operating environment.
Statements
Result
----+----1----+
ucs4str=input (' Japanese', $ucs4xe2.);
put ucs4str=$hex8;
ucs4str=00005927

See Also

Informat: