Previous Page | Next Page

Formats for NLS

$UTF8Xw. Format



Processes a character string that is in the encoding of the current SAS session, and then writes the character string in universal transformation format (UTF-8) encoding.
Category: Character
Alignment: left

Syntax
Syntax Description
Examples
See Also

Syntax

$UTF8Xw.


Syntax Description

w

specifies the width of the output field. Specify enough width to include all of the characters in the variable. The width of the characters are dependent on the code point value of the individual characters.

Default: 8
Range: 2-32767

Examples

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

Statements Results

----+----1
x ='91E5'x; ; /* Japanese ' [untitled graphic]' in Shift-JIS */

put x $utf8x10.;
x='e5a4a7'x


See Also

Formats:

$UCS2Bw. Format

$UCS2Lw. Format

$UCS2Xw. Format

Informats:

$UCS2Bw. Informat

$UCS2Lw. Informat

$UCS2Xw. Informat

Previous Page | Next Page | Top of Page