Date: Mon, 12 Mar 2012 12:21:08 -0400
Reply-To: Tom Abernathy <tom.abernathy@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Tom Abernathy <tom.abernathy@GMAIL.COM>
Subject: Re: SAS to DOS UTF-8
Did you try adding the ENCODING option to the FILENAME statement?
On Mon, 12 Mar 2012 11:38:08 -0400, Ben Powell <bpowell555@GMAIL.COM> wrote:
>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
|