Previous Page | Next Page

Informats for NLS

$UCS2XEw. Informat



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

Syntax
Syntax Description
Comparisons
Examples
See Also

Syntax

$UCS2XEw.


Syntax Description

w

specifies the width of the input field. Specify enough width to accommodate the 16-bit size of the Unicode characters.

Default: 8
Range: 1-32000

Comparisons

The $UCS2XEw. informat performs processing that is opposite of the $UCS2Xw. informat.


Examples

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

Statements Result

----+----1----+
ucs2str=input (' [untitled graphic]', $ ucs2xe2.);

put ucs2str=$hex6;
ucs2str=5927


See Also

Formats:

$UCS2Xw. Format

$UCS2XEw. Format

Informats:

$UCS2Xw. Informat

Previous Page | Next Page | Top of Page