Date: Thu, 5 Apr 2007 07:41:30 -0400
Reply-To: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject: Re: Special charaters export issues
also:
I see here (on a german win-SAS) the options:
TRANTAB=(lat1lat1,lat1lat1,wlt1_ucs,wlt1_lcs,wlt1_ccl,,,)
LOCALE=GERMAN_GERMANY
Not to try that, but could you have a look (maybe with PROC OPTIONS), how
your settings are?
Gerhard
On Thu, 5 Apr 2007 13:27:52 +0200, Robert Bardos <bardos2@ANSYS.CH> wrote:
>Stephanie,
>
>the file (and filename) statement has an optional keyword
>ENCODING=.
>You will find its use described in SAS9 online documentation.
>
>I can't test it right now but you might give
>
> FILE 'j:\emea_data\sb\EXP_FRA_FINAL.dat' dlm = ','
>encoding=wlatin1 ;
>
>or
>
> FILE 'j:\emea_data\sb\EXP_FRA_FINAL.dat' dlm = ','
>encoding=wlatin2 ;
>
>a try.
>
>Please tell us if one of these helped.
>
>
>Joyeuses Paques!
>
>Robert Bardos
>Ansys AG, Zurich, Switzerland
>
>> -----Urspr?he Nachricht-----
>> Von: SAS(r) Discussion
>> [mailto:SAS-L@LISTSERV.UGA.EDU]Im Auftrag von
>> manie
>> Gesendet: Donnerstag, 5. April 2007 13:09
>> An: SAS-L@LISTSERV.UGA.EDU
>> Betreff: Special charaters export issues
>>
>>
>> Hello,
>>
>> I need to export SAS data in a flat file. this data
>> contains special
>> characters (french accents / german characters). I can see them
>> without any problem via SAS.
>> But when I export the dataset with script below, I
>> loose the special
>> characters (replaced with strange characters).
>>
>> DATA _NULL_;
>> SET EMEAWORK.FRA_EXP_FINAL;
>> FILE 'j:\emea_data\sb\EXP_FRA_FINAL.dat' dlm = ',';
>> PUT prs_individual_id f_add1 f_add2 f_add3
>> f_city f_country
>> f_postcode;
>> RUN;
>>
>> Do you know how I can manage this issue?
>>
>> THanks
>>
>> Stephanie
>>
|