LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2012, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page