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
|
- 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 |
This example uses the Japanese Shift_JIS session encoding,
which is supported under the UNIX operating environment.
Statements |
Results |
|
----+----1
|
x ='91E5'x; ; /* Japanese
'
' in
Shift-JIS */
put x $utf8x10.;
|
x='e5a4a7'x
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.