LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) 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 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


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