Date: Mon, 12 Mar 2012 11:38:08 -0400
Reply-To: Ben Powell <bpowell555@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ben Powell <bpowell555@GMAIL.COM>
Subject: SAS to DOS UTF-8
Hi List,
I've found pipe and 'sysexec copy' do not maintain utf-8 encoded file names
such as Andalucia with an accent on the I.
If I have the correct filenames in a sas dataset the copy works but the
paste pastes an incorrectly resolved filename.
Using pipe to get dir contents, the resultant dataset gets a filename but
its incorrect.
As I only have three exceptions I've hardcoded some tranwrds, but would be
interested to know if this is addressed somewhere. The encoding option for
instance does not work with the pipe filename.
/* Neither of the below handle UTF-8 correctly */
filename foo pipe "dir "&qsource" /t:w /a:-d";
%sysExec copy &source &destination;
Is this a dos limitation?
Regards