Previous Page | Next Page

Formats for NLS

$UCS4XEw. Format



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

Syntax
Syntax Description
Details
Comparison
Example
See Also

Syntax

$UCS4XEw.


Syntax Description

w

specifies the width of the output field. Specify enough width to accommodate the 32-bit size of the Unicode characters.

Default: 8
Range: 1-32000

Details

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


Comparison

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


Example

This example uses the Japanese Shift_JIS encoding, which is supported under the UNIX operating environment.

Statements Result

----+----1
x ='275900004100000042000000'x;

put x $ucs4be4.;
[untitled graphic]AB (little endian)


See Also

Formats:

$UCS4Xw. Format

Informats:

$UCS4Xw. Informat

Previous Page | Next Page | Top of Page