Previous Page | Next Page

Formats for NLS

$UCS4Bw. Format



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

Syntax
Syntax Description
Details
Comparison
Examples
See Also

Syntax

$UCS4Bw.


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 $UCS4Bw. format writes a character string in big-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.


Comparison

The $UCS4Bw. format performs processing that is the opposite of the $UCS4BEw. format.


Examples

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

Statements Result

----+----1
x = ' [untitled graphic]';

put x $ucs4b4.;

'00005927'x (binary)


See Also

Formats:

$UCS2Lw. Format

$UCS2Xw. Format

$UCS4BEw. Format

$UCS4Lw. Format

$UCS4Xw. Format

$UTF8Xw. Format

Informats:

$UCS2Bw. Informat

$UCS2Lw. Informat

$UCS2Xw. Informat

$UCS4Bw. Informat

$UCS4Lw. Informat

$UCS4Xw. Informat

$UTF8Xw. Informat

Previous Page | Next Page | Top of Page