$UCS2Lw. Informat
Reads a character string that is encoded in little-endian,
16-bit, UCS2, Unicode encoding, and then converts the character string
to the encoding of the current SAS session.
Syntax
Syntax Description
- w
-
specifies the width
of the input field. Specify enough width to accommodate the 16-bit
size of the Unicode characters.
Comparisons
The $UCS2L
w. informat performs processing that is opposite
of the $UCS2LE
w. informat.
If you are processing data within the same operating environment,
then use the $UCS2X
w.informat.
If you are processing data from different operating environments,
then use the $UCS2B
w. and $UCS2L
w. informats.
Example
This example
uses the Japanese Shift_JIS encoding, which is supported under the
UNIX operating environment.
|
|
|
|
x=input('2759'x,$ucs2l.);
|
|