$UCS2XEw. Format
Processes a character string that is in native-endian,
16-bit, UCS2, Unicode encoding, and then writes the character string
in the encoding of the current SAS session.
Category: |
Character |
Alignment: |
left |
Syntax
Syntax Description
- w
-
specifies the width
of the output field. Specify enough width to accommodate the 16-bit
size of the Unicode characters.
Details
The $UCS2XE
w. format writes a character string in the encoding
of the current SAS session. It processes character strings that are
in native-endian, 16-bit, UCS2 (universal character set code in two
octets), Unicode encoding.
Comparisons
The $UCS2XE
w. format performs processing that is the opposite
of the $UCS2X
w. format.
Example
This example uses the
Japanese Shift_JIS encoding, which is supported under the UNIX operating
environment.
|
|
|
|
x ='e5a4a7'x;
/* Japanese ' ' in UTF8 */;
|
|