<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS migration from Win to Linux (encoding differences) in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575817#M17656</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;Is there any other way I can set encoding in ODBC to write data as WLATIN1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this available in SAS/Access to SQL Server?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jul 2019 14:24:15 GMT</pubDate>
    <dc:creator>sid3284</dc:creator>
    <dc:date>2019-07-23T14:24:15Z</dc:date>
    <item>
      <title>SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575554#M17643</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are migrating from SAS 9.4 on Windows to Linux operating system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For one of the DI jobs we see the below difference in the output of the job. This data is being pulled from a SQL server which is on Windows. We are using SAS/Access to ODBC to access data in sql server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Windows,&lt;/P&gt;&lt;P&gt;2/13/18&lt;BR /&gt;Sarah’s been running around like crazy; discussed the billboard next to Exit 90A, feature in the Sport &amp;amp; Leisure Research Group, and article in Forbes; she’s been busy putting simulators in the Mercedes Benz Stadium due to Arthur Blank’s dem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Unix,&lt;/P&gt;&lt;DIV&gt;2/13/18&lt;BR /&gt;SarahÃ¢Â?Â?s been running around like crazy; discussed the billboard next to Exit 90A, feature in the Sport &amp;amp; Leisure Research Group, and article in Forbes; sheÃ¢Â?Â?s been busy putting simulators in the Mercedes Benz Stadium due to Arthur B&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is as a result of substring of 250 character of the record. I think the garbage characters are because of encoding mismatch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any configuration settings that I am missing. Major concern here is data loss because of encoding mismatch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 19:48:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575554#M17643</guid>
      <dc:creator>sid3284</dc:creator>
      <dc:date>2019-07-22T19:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575565#M17644</link>
      <description>The config file specifies the encoding for each system. But...Unix files usually have a different encoding than Windows.</description>
      <pubDate>Mon, 22 Jul 2019 19:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575565#M17644</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-22T19:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575567#M17645</link>
      <description>&lt;P&gt;Run PROC OPTIONS on both servers and compare encoding options. Are they the same or different?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 20:00:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575567#M17645</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-07-22T20:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575578#M17646</link>
      <description>&lt;P&gt;Its WLATIN1 for Windows and LATIN1 for Redhat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Redhat we changed the encoding to UTF-8 but that also did not help much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 20:26:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575578#M17646</guid>
      <dc:creator>sid3284</dc:creator>
      <dc:date>2019-07-22T20:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575591#M17647</link>
      <description>&lt;P&gt;It would be worth asking the SQL Server DBA what the encoding is for the database. Is it running on Windows? It would be worth opening a SAS Tech support track as well.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 21:01:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575591#M17647</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-07-22T21:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575593#M17648</link>
      <description>&lt;P&gt;Yes. Its running on windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Latin1_General_CI_AI is the collation on the table from which we are reading the data.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 21:05:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575593#M17648</guid>
      <dc:creator>sid3284</dc:creator>
      <dc:date>2019-07-22T21:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575647#M17649</link>
      <description>&lt;P&gt;Looks to me like somewhere along the way the data is converted to a UTF format, as WLATIN1 uses a single-byte character for the single quote, which should not end up as three(!) special symbols.&lt;/P&gt;
&lt;P&gt;Isn't MS SQL always accessed through ODBC?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 05:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575647#M17649</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-23T05:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575691#M17650</link>
      <description>&lt;P&gt;Like &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;observed that you end-up with multiple garbled bytes clearly indicates that somewhere along the line a conversion to UTF-8 must be happening (could just be for a WORK tables).&lt;/P&gt;
&lt;P&gt;UTF-8 encoding for a right single quotation mark uses 3 bytes: 0xE2 0x80 0x99 (e28099)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are the characters already garbled in the very first SAS table directly extracted from the DB or do they only get garbled when inserted to the target table?&lt;/P&gt;
&lt;P&gt;Do you fully recreate the target table every single time or have you migrated it from your Windows environment? If migrated - did you use Proc Migrate or did you just copy the physical files? What's the encoding of your target table with the garbled characters?&lt;/P&gt;
&lt;P&gt;Does the SAS log tell you anything about encoding changes/problems?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 08:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575691#M17650</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-07-23T08:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575755#M17651</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;The SQL server table is converted into a csv file and saved on the Redhat (compute) server. I think this is where it gets converted to UTF-8. &lt;EM&gt;echo $LANG&lt;/EM&gt; on linux box gives&amp;nbsp;&lt;STRONG&gt;en_US.UTF-8.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The target table is in snowflake. But i think the characters are garbled when they are written in the csv file on the unix server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using file statement to write the csv on linux server. Below is the file statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;file "/sasdata/Snowflake_temp/&amp;amp;sas_libname./&amp;amp;temp_table..csv" delimiter=',' DSD DROPOVER lrecl=32767 ENCODING='wlatin1';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have tried both wlatin1 and latin1. But we still see the garbled character in the csv.&lt;/P&gt;&lt;P&gt;When I run file -bi on the csv file I get output as&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;text/plain; charset=unknown-8bit. &lt;/STRONG&gt;which makes me think that the ENCODING option in file statement is not picked up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 11:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575755#M17651</guid>
      <dc:creator>sid3284</dc:creator>
      <dc:date>2019-07-23T11:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575759#M17652</link>
      <description>&lt;P&gt;Have you tried to simply create a WORK dataset from the SQL table, and look at its contents?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 12:03:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575759#M17652</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-23T12:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575783#M17653</link>
      <description>&lt;DIV&gt;&lt;STRONG&gt;2/13/18&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sarahâ??s been running around like crazy; discussed the billboard next to Exit 90A, feature in the Sport &amp;amp; Leisure Research Group, and article in Forbes; sheâ??s been busy putting simulators in the Mercedes Benz Stadium due to Arthur Blankâ??s&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how the data looks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use OUTENCODING option in the libname statement but it seems it is not supported in SAS/Access to ODBC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;26 LIBNAME srccrm_1 ODBC READ_LOCK_TYPE=NOLOCK READBUFF=1000 DATAsrc=LEGENDS SCHEMA=dbo USER=sassql&lt;BR /&gt;26 ! PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX OUTENCODING ='WLATIN1';&lt;BR /&gt;_________&lt;BR /&gt;278&lt;BR /&gt;NOTE: Libref SRCCRM_1 was successfully assigned as follows:&lt;BR /&gt;Engine: ODBC&lt;BR /&gt;Physical Name: LEGENDS&lt;BR /&gt;WARNING 278-63: The option OUTENCODING is not implemented in the ODBC engine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 12:48:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575783#M17653</guid>
      <dc:creator>sid3284</dc:creator>
      <dc:date>2019-07-23T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575798#M17654</link>
      <description>&lt;P&gt;Pull the data out of Snowflake with some other tool and check if that character is a normal ASCII single quote or one of those typography slanted quotes.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 13:37:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575798#M17654</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-23T13:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575816#M17655</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;the character is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;146&lt;/TD&gt;&lt;TD&gt;92&lt;/TD&gt;&lt;TD&gt;2019&lt;/TD&gt;&lt;TD&gt;E2&lt;/TD&gt;&lt;TD&gt;80&lt;/TD&gt;&lt;TD&gt;99&lt;/TD&gt;&lt;TD&gt;&amp;amp;#8217;&lt;/TD&gt;&lt;TD&gt;’&lt;/TD&gt;&lt;TD&gt;&amp;amp;rsquo;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Right Single Quotation Mark&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.i18nqa.com/debug/table-iso8859-1-vs-windows-1252.html&amp;nbsp;" target="_blank" rel="noopener"&gt;https://www.i18nqa.com/debug/table-iso8859-1-vs-windows-1252.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 14:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575816#M17655</guid>
      <dc:creator>sid3284</dc:creator>
      <dc:date>2019-07-23T14:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575817#M17656</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;Is there any other way I can set encoding in ODBC to write data as WLATIN1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this available in SAS/Access to SQL Server?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 14:24:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575817#M17656</guid>
      <dc:creator>sid3284</dc:creator>
      <dc:date>2019-07-23T14:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575825#M17657</link>
      <description>&lt;P&gt;Did you change the database that you are querying in addition to changing your SAS server? Somehow the 3 byte UTF-8 sequence for cute curly apostrophe got stuff into your database in place of the simple ASCII single quote. You should check how that table was created in the database.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway it looks like Snowflake only supports Unicode (aka UTF-8).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might try transcoding the string after copying from the database.&amp;nbsp; But since it is a single byte encoding WLATIN1/LATIN1 will NOT be able to represent every possible Unicode character that might appear in your database.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try the UNICODE() function.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=nlsref&amp;amp;docsetTarget=p1s61kmqg61m29n109i6dz4ivkbw.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=nlsref&amp;amp;docsetTarget=p1s61kmqg61m29n109i6dz4ivkbw.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 14:49:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575825#M17657</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-23T14:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575838#M17658</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/234694"&gt;@sid3284&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I suggest that you set up a very simple step run out of SAS EG (or eventually DIS).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   create table test as
   select mycol
   from db.source
   where &amp;lt;selection for specific row&amp;gt;
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then execute this code both in your old and in your new environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what I understood so far transcoding into WLATIN1 in your old environment didn't cause any issues. If so then trancoding into LATIN1 should principally also be possible and it's only about getting the environment right.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you've got the SAS/Access to SQL server module licensed in your new environment then I'd use this one over SAS/Access to ODBC - just because it's the specialised one and I believe comes together with a SAS tested ODBC driver.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please run above simple tests and then tell us the results. We would also need to know the SAS session encodings, the target table encoding and the local.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if the following link could still be of relevance (I hope not) - but it's eventually another reason to use SAS/Access to SQL Server.&amp;nbsp;&lt;A href="http://support.sas.com/kb/36/652.html" target="_blank" rel="noopener"&gt;http://support.sas.com/kb/36/652.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for your questions around available options for the Access modules: That's fully documented here per SAS access module.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=titlepage.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://go.documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=titlepage.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 15:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575838#M17658</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-07-23T15:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575849#M17659</link>
      <description>&lt;P&gt;And just as another test: What happens if you set the target table encoding specifically in your RHEL server environment?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   create table test(encoding=latin1) as
   select mycol
   from db.source
   where &amp;lt;selection for specific row&amp;gt;
  ;
quit;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 15:20:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575849#M17659</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-07-23T15:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575860#M17660</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;We are reading from SQL server using SAS/Access to ODBC. We extract that data into a temporary work table on linux server and I think the data fetched in this dataset got the data converted from WLATIN1 to UTF-8. We use this temporary work dataset to create a csv and move that to s3 bucket and load it into snowflake.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are looking for an option to maintain the same encoding on the temporary dataset from SQL server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 15:32:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575860#M17660</guid>
      <dc:creator>sid3284</dc:creator>
      <dc:date>2019-07-23T15:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575866#M17661</link>
      <description>&lt;P&gt;Converting from WLATIN1 to UTF-8 is not going to create that curly apostrophe thing. That is not a character in the WLATIN1 encoding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most likely the source is the SQL Server database. Check the value by querying there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will probably have a lot more luck by running your SAS sessions using UTF-8 encoding all of the time.&amp;nbsp; So use UTF-8 session when reading from SQL Server and writing the text file.&amp;nbsp; Snowflake will use UTF-8 when loading (if not check that).&amp;nbsp; Then use UTF-8 session when reading from Snowflake and the values should look the same as they did in the UTF-8 session that read from SQL Server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually I am wrong.&amp;nbsp; '91'x to '9B'x appear to be where it is storing a lot of those goofy characters.&lt;/P&gt;
&lt;PRE&gt;217   data _null_;
218     do x='91'x,'92'x;
219       put x= ;
220     end;
221   run;

x=‘
x=’
&lt;/PRE&gt;
&lt;P&gt;Not clear to me why your connection to Snowflake is not converting those back into '92'x instead of a three byte sequence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your original kind made it look like something in the pipeline is doing the WLATIN1 to UTF-8 mapping twice. Instead of just 3 weird characters it looks like you got 9.&amp;nbsp; So something translated the non ASCII code '92'x into multiple bytes. Then something else translated each of those multiple bytes in other multiple byte sequences.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does Snowflake expect a BOM at the beginning of the the text files that it loads?&amp;nbsp; From one of you other messages it looks like your SAS export code did NOT write a BOM so that readers of the text file would know what encoding it had.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 16:03:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575866#M17661</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-23T16:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS migration from Win to Linux (encoding differences)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575915#M17664</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Redhat server output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"2/13/18&lt;BR /&gt;Sarahâ€™s been running around like crazy; discussed the billboard next to Exit 90A, feature in the Sport &amp;amp; Leisure Research Group, and article in Forbes; sheâ€™s been busy putting simulators in the Mercedes Benz Stadium due to Arthur Blankâ€™s demands; discussed The First Tee, Steve Mona and a handful of other individuals who may get her across the finish line; $$$ are still small locally; product licensing would be an issue as well (i.e. PXG); sheâ€™ll be at game tomorrow with family and 25 other people so hope to get some face time then&lt;/P&gt;&lt;P&gt;Misc: Orlando is home to one of PGA TOUR Superstore's newest locations. The retail side of the golf industry has changed significantly in recent years and no company in the game has adjusted and evolved more successfully than PGA TOUR Superstore. Mirroring the approach that helped Home Depot change the home improvement sector, the retailer is coming off a record year in which it had 23 percent sales growth, opened several new stores, conducted over 100,000 custom club fittings, gave about 50,000 lessons and re-gripped more than 750,000 clubs. â€œA lot of retail companies, theyâ€™re still playing with the old set of cards, so to speak,â€&amp;#157; says PGA TOUR Superstore President and CEO **bleep** Sullivan. â€œWeâ€™ve reshuffled the deck. Weâ€™ve revolutionized, just as Home Depot revolutionized the home improvement business, and itâ€™s more than just selling products.â€&amp;#157; Thereâ€™s good reason PGA TOUR Superstore has applied the same approach and business practices as Home Depot: company owner Arthur Blank co-founded Home Depot. Yes, PGA TOUR Superstore boasts a very wide variety of products, the newest of which will be introduced this week at the annual PGA Merchandise Show in Orlando. The company also offers a range of services â€“ fittings, re-gripping, lessons and hitting bays â€“ and relies on experienced associates to provide a level of customer service that keeps visitors coming back. â€œWe did that at Home Depot; the product knowledge we had on the floor"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Windows server output attached.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 18:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-migration-from-Win-to-Linux-encoding-differences/m-p/575915#M17664</guid>
      <dc:creator>sid3284</dc:creator>
      <dc:date>2019-07-23T18:00:53Z</dc:date>
    </item>
  </channel>
</rss>

