Usage Note 32590: Displaying UTF-8 Unicode data
The SAS UTF-8 session has limitations on its ability to display Unicode data in output windows and Viewtable windows. Consequently, you should usually route output to an HTML file and display the output with a browser.
You can use the following ODS statements to generate such an HTML file:
ods html file='c:\temp\test.html';
proc print data=xxxx.datsetname;
run;
ods html close;
You can use the following alternate method to generate and display an HTML file. This method invokes the Results window and uses an external browser to display the file:
Create the HTML file
- Select Tools ► Options ► Preferences.
- Uncheck the Create Listing checkbox.
- Check the Create HTML checkbox.
- Click OK. The icon for the HTML file will appear in the Results panel at left.
- In the bottom panel, use the PRINT procedure to display the data.
Open the HTML file in a Browser
- Right-click the HTML file in the Results panel at left.
- Select Encoding ► More ► Unicode (UTF-8).
Operating System and Release Information
SAS System | Base SAS | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft® Windows® for x64 | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
Windows Vista | 9.1 TS1M3 SP4 | |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |
HP-UX IPF | 9.1 TS1M3 SP4 | |
Linux | 9.1 TS1M3 SP4 | |
Linux on Itanium | 9.1 TS1M3 SP4 | |
OpenVMS Alpha | 9.1 TS1M3 SP4 | |
Tru64 UNIX | 9.1 TS1M3 SP4 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Use browser to read utf-8 data with aid of encoding option in browser
Date Modified: | 2008-08-13 13:53:29 |
Date Created: | 2008-06-30 17:19:39 |