$UCS4Lw. Format

Processes a character string that is in the encoding of the current SAS session, and then writes the character string in little-endian, 32-bit, UCS4, Unicode encoding.
Category: Character
Alignment: left

Syntax

$UCS4Lw.

Syntax Description

w
specifies the width of the output field. Specify enough width to accommodate the 32-bit size of the Unicode characters.
Default:4
Range:4–32767

Details

The $UCS4Lw. format writes a character string in little-endian, 32-bit, UCS4 (universal character set code in four octets), Unicode encoding. It processes character strings that are in the encoding of the current SAS session.

Comparisons

The $UCS4Lw. format performs processing that is the opposite of the $UCS4LEw. format.

Example

This example uses the Japanese Shift_JIS encoding, which is supported under the UNIX operating environment.
Statements
Result
----+----1
data_null;
x = 'xxx';
y=put(x,$ucs4l4.);
put y $hex.;
run;
2759