<?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: UTF8 compliant import in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/UTF8-compliant-import/m-p/77836#M22479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's for sure a good idea to specify the encoding explicitly. Some UTF8 encoded files don't have a BOM so telling SAS which encoding to use will help avoiding issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 22:46:26 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2013-09-10T22:46:26Z</dc:date>
    <item>
      <title>UTF8 compliant import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/UTF8-compliant-import/m-p/77833#M22476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please convert the following import statement to a UTF8 compliant version? (The input text file is UTF8 and the dataset needs to be UTF8 compliant.) Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dir.ds;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let _efierr_ = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile "&amp;amp;in\ds.txt" delimiter = ',' missover dsd firstobs = 2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format colA $10. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format colB $10. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format colC $10. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat colA $10. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat colB $10. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat colC $10. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; colA $&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; colB $&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; colC $&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _error_ then call symput('_efierr_',1);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 17:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/UTF8-compliant-import/m-p/77833#M22476</guid>
      <dc:creator>Mikeyjh</dc:creator>
      <dc:date>2013-09-10T17:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: UTF8 compliant import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/UTF8-compliant-import/m-p/77834#M22477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your SAS installation is UTF compliant (DBCS) and your encoding is UTF in SAS what is this question about?&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/nlsref/64811/HTML/default/viewer.htm#n0882t2muy4l94n19cno6z40xmuz.htm"&gt;http://support.sas.com/documentation/cdl/en/nlsref/64811/HTML/default/viewer.htm#n0882t2muy4l94n19cno6z40xmuz.htm&lt;/A&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/nlsref/64811/HTML/default/viewer.htm#n0882t2muy4l94n19cno6z40xmuz.htm"&gt;http://support.sas.com/documentation/cdl/en/nlsref/64811/HTML/default/viewer.htm#n0882t2muy4l94n19cno6z40xmuz.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 19:10:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/UTF8-compliant-import/m-p/77834#M22477</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-09-10T19:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: UTF8 compliant import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/UTF8-compliant-import/m-p/77835#M22478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. Yes the installation is UTF8 compliant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to use the following to be able to read from a UTF8 text file and retain compliance in the dataset? We are using 9.1.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname mylib outencoding="utf-8";&lt;/P&gt;&lt;P&gt;infile myfile encoding="utf-8"; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 21:49:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/UTF8-compliant-import/m-p/77835#M22478</guid>
      <dc:creator>Mikeyjh</dc:creator>
      <dc:date>2013-09-10T21:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: UTF8 compliant import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/UTF8-compliant-import/m-p/77836#M22479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's for sure a good idea to specify the encoding explicitly. Some UTF8 encoded files don't have a BOM so telling SAS which encoding to use will help avoiding issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 22:46:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/UTF8-compliant-import/m-p/77836#M22479</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-09-10T22:46:26Z</dc:date>
    </item>
  </channel>
</rss>

