.xlsx. Do you want us to try to recover as much as we can?"" />
Problem Note 70350: An XLSX file cannot be opened in Microsoft Excel if it is created in a UTF-8 SAS® session with a file name with Encoding=WLATIN1
When you run SAS with UTF-8 encoding and export data to an XLSX file using a file name with Encoding=WLATIN1, the created file cannot be opened in Excel. Instead, the following error occurs when you open the XLSX file:
We found a problem with some content in <name>.xlsx. Do you want us to try to recover as much as we can?
You encounter the issue when you run code similar to the following:
proc options option=encoding;run; /* MUST be UTF-8 */
data x;
y=1;
run;
filename H "c:\temp\wlatin1.xlsx" encoding="wlatin1";
proc export data=x outfile=H
dbms=xlsx replace;
run;
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Solaris for x64 | 9.4 TS1M6 | |
Linux for x64 | 9.4 TS1M6 | |
HP-UX IPF | 9.4 TS1M6 | |
64-bit Enabled Solaris | 9.4 TS1M6 | |
64-bit Enabled AIX | 9.4 TS1M6 | |
Windows 7 Ultimate 32 bit | 9.4 TS1M6 | |
Windows 7 Professional x64 | 9.4 TS1M6 | |
Windows 7 Professional 32 bit | 9.4 TS1M6 | |
Windows 7 Home Premium x64 | 9.4 TS1M6 | |
Windows 7 Home Premium 32 bit | 9.4 TS1M6 | |
Windows 7 Enterprise x64 | 9.4 TS1M6 | |
Windows 7 Enterprise 32 bit | 9.4 TS1M6 | |
Microsoft Windows Server 2019 | 9.4 TS1M6 | |
Microsoft Windows Server 2016 | 9.4 TS1M6 | |
Microsoft Windows Server 2012 Std | 9.4 TS1M6 | |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M6 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M6 | |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M6 | |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M6 | |
Microsoft Windows Server 2008 R2 | 9.4 TS1M6 | |
Microsoft Windows Server 2008 | 9.4 TS1M6 | |
Microsoft Windows 10 | 9.4 TS1M6 | |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M6 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M6 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M6 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M6 | |
Microsoft Windows 8 Pro x64 | 9.4 TS1M6 | |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M6 | |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M6 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M6 | |
Windows 7 Ultimate x64 | 9.4 TS1M6 | |
Microsoft® Windows® for x64 | 9.4 TS1M6 | |
*
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.
In this scenario, you encounter the following error message: "We found a problem with some content in
.xlsx. Do you want us to try to recover as much as we can?"
Type: | Problem Note |
Priority: | high |
Date Modified: | 2023-09-11 12:45:01 |
Date Created: | 2023-08-31 10:12:03 |