Formats for NLS |
Category: | Character |
Alignment: | left |
Syntax | |
Syntax Description | |
Details | |
Comparison | |
Examples | |
See Also |
Syntax |
$UCS2Bw. |
specifies the width of the output field. Specify enough width to accommodate the 16-bit size of the Unicode characters.
Default: | 8 |
Range: | 2-32767 |
Details |
The $UCS2Bw. format writes a character string in big-endian, 16-bit, UCS2 (universal character set code in two octets), Unicode encoding. It processes character strings that are in the encoding of the current SAS session.
Comparison |
The $UCS2Bw. format performs processing that is the opposite of the $UCS2BEw. format.
Examples |
This example uses the Japanese Shift_JIS encoding, which is supported under the UNIX operating environment.
Statements | Results |
---|---|
|
----+----1 |
x = '
';
put x $ucs2b2.; |
'5927'x (binary) |
See Also |
Formats: | |||||||||||
Informats: |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.