<?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: Import csv encoding problem in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-csv-encoding-problem/m-p/294674#M20135</link>
    <description>&lt;PRE&gt;
Another way is changing encoding of CSV file before importing it :


filename x 'c:\temp\x.csv' encoding='utf-8';
proc import ..............



&lt;/PRE&gt;</description>
    <pubDate>Mon, 29 Aug 2016 01:39:08 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-08-29T01:39:08Z</dc:date>
    <item>
      <title>Import csv encoding problem</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-csv-encoding-problem/m-p/294639#M20130</link>
      <description>&lt;P&gt;Hi everybody! I'm using EG 6.1&lt;/P&gt;&lt;P&gt;I have the following problem with csv import: In CSV file some columns contain russian text. When I choose english language in EG properties, the import process is OK but the output looks like in the picture:&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4741i94D66D6F1B1D9133/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="problem.PNG" title="problem.PNG" /&gt;&lt;/P&gt;&lt;P&gt;When I choose russian language in EG properties, the import is not processed and i get the following error:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4742i96515F6CAD8CA6DA/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="problem1.PNG" title="problem1.PNG" /&gt;&lt;/P&gt;&lt;P&gt;How can I get the correct data? I've tried lots of ways that I've found in google and on this Forum but nothing was helpful(&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2016 15:59:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-csv-encoding-problem/m-p/294639#M20130</guid>
      <dc:creator>ArcheeSh</dc:creator>
      <dc:date>2016-08-28T15:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Import csv encoding problem</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-csv-encoding-problem/m-p/294664#M20134</link>
      <description>&lt;P&gt;You're get this error when the text in the file contains characters that cannot be mapped to the SAS session encoding. &amp;nbsp;Your SAS session might be running in wlatin or latin1 -- or some other encoding that cannot handle the mix of characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The best approach is to run SAS with ENCODING of UTF8. &amp;nbsp;To do that, the SAS command would need to change to reference the ../nls/u8/sasv9.cfg file as the configuration. &amp;nbsp;In a centralized SAS environment, you'll have to coordinate that with a SAS administrator and potentially any colleagues who use the same SAS environment. &amp;nbsp;But if national characters are a common requirement, that's the proper thing to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2016 21:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-csv-encoding-problem/m-p/294664#M20134</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-08-28T21:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Import csv encoding problem</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-csv-encoding-problem/m-p/294674#M20135</link>
      <description>&lt;PRE&gt;
Another way is changing encoding of CSV file before importing it :


filename x 'c:\temp\x.csv' encoding='utf-8';
proc import ..............



&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Aug 2016 01:39:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-csv-encoding-problem/m-p/294674#M20135</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-08-29T01:39:08Z</dc:date>
    </item>
  </channel>
</rss>

