Reads a character string that is encoded in big-endian, 32-bit,
UCS4, Unicode encoding, and then converts the character string to the encoding
of the current SAS session.
- w
-
specifies the width of the input field. Specify enough width
to accommodate the 32-bit size of the Unicode characters.
Default: |
4 |
Range: |
4-32000 |
If you are processing data within the same operating
environment, then use the $UCS4Xw. informat.
If you are processing data from different operating environments, then use
the $UCS4Bw. and $UCS4Lw.
informats.
These examples use the Japanese Shift_JIS encoding, which is supported
under the UNIX operating environment.
Statements |
Result |
|
----+----1----+
|
z=put('Zero1',$UCS4B20.);
x=input(z,$UCS4B20.);
put x;
|
Zero1
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.