![]() | ![]() | ![]() | ![]() |
When you run a SAS server in a UNIX environment and you try to import a text file from a Windows environment, a warning similar to the following might be generated:
WARNING: A character that could not be transcoded was encountered.
You might also see this this message when you try to convert data from Unicode. This happens because the character in question does not exist in the receiving encoding. This happens in particular in a Western European environment. The encodings used on Windows (WLATIN1, also known as CP1252) and UNIX (LATIN1 or LATIN9, also known as ISO-8859-1 and ISO-8859-15, respectively) are very similar but not identical. For an overview of their differences, see the Wikipedia article "Western Latin character sets (computing): Comparison table".
The Euro symbol as well as special quotation marks used in Microsoft Word or Microsoft Excel might be potential sources of this transcoding error.
To avoid this problem, you can either change the offending character to something that is available in both encodings (if possible) or you can run the server session with the same encoding as the Windows client. For instance, you can run a UNIX server (in a Western European environment) with a WLATIN1 encoding instead of LATIN1 or LATIN9.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | Microsoft® Windows® for 64-Bit Itanium-based Systems | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | ||||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | ||||
Microsoft Windows XP 64-bit Edition | ||||
Microsoft® Windows® for x64 | ||||
OS/2 | ||||
Microsoft Windows 95/98 | ||||
Microsoft Windows 2000 Advanced Server | ||||
Microsoft Windows 2000 Datacenter Server | ||||
Microsoft Windows 2000 Server | ||||
Microsoft Windows 2000 Professional | ||||
Microsoft Windows NT Workstation | ||||
Microsoft Windows Server 2003 Datacenter Edition | ||||
Microsoft Windows Server 2003 Enterprise Edition | ||||
Microsoft Windows Server 2003 Standard Edition | ||||
Microsoft Windows XP Professional | ||||
Windows Millennium Edition (Me) | ||||
Windows Vista | ||||
64-bit Enabled AIX | ||||
64-bit Enabled HP-UX | ||||
64-bit Enabled Solaris | ||||
ABI+ for Intel Architecture | ||||
AIX | ||||
HP-UX | ||||
HP-UX IPF | ||||
IRIX | ||||
Linux | ||||
Linux for x64 | ||||
Linux on Itanium | ||||
OpenVMS Alpha | ||||
OpenVMS on HP Integrity | ||||
Solaris | ||||
Solaris for x64 | ||||
Tru64 UNIX |