<?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: Issue with converting UTF-8 encoded XPT file into SAS dataset in WLATIN1 SAS 9.4 environment in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Issue-with-converting-UTF-8-encoded-XPT-file-into-SAS-dataset-in/m-p/926556#M83435</link>
    <description>You could use UNICODE sas to import this kind of XPT , after that just convert this dataset from utf-8 encoding into WALTIN1  encoding by this URL:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/nlsref/p1g1d26os4w0von1cdfh827foo3r.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/nlsref/p1g1d26os4w0von1cdfh827foo3r.htm&lt;/A&gt;</description>
    <pubDate>Wed, 01 May 2024 01:54:43 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-05-01T01:54:43Z</dc:date>
    <item>
      <title>Issue with converting UTF-8 encoded XPT file into SAS dataset in WLATIN1 SAS 9.4 environment</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-with-converting-UTF-8-encoded-XPT-file-into-SAS-dataset-in/m-p/926523#M83433</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please suggest if there is a way to convert UTF-8 encoded XPT file into SAS dataset in WLATIN1 SAS 9.4 environment. I have tried many options like ENCODING=ANY . But nothing worked. I encountered below log issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sn_1_0-1714506947595.png" style="width: 570px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/96064i159A1A45504876DC/image-dimensions/570x86?v=v2" width="570" height="86" role="button" title="sn_1_0-1714506947595.png" alt="sn_1_0-1714506947595.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand UTF-8 is a&amp;nbsp; MBCS where as WALTIN1 is&amp;nbsp;Single Byte Character Set (SBCS). I understand we can change the configuration to UTF-8 to use MBCS data. But is there a way to do this without changing the environment of SAS to read into file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you much!&lt;/P&gt;&lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 20:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-with-converting-UTF-8-encoded-XPT-file-into-SAS-dataset-in/m-p/926523#M83433</guid>
      <dc:creator>sn_1</dc:creator>
      <dc:date>2024-04-30T20:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with converting UTF-8 encoded XPT file into SAS dataset in WLATIN1 SAS 9.4 environment</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-with-converting-UTF-8-encoded-XPT-file-into-SAS-dataset-in/m-p/926526#M83434</link>
      <description>&lt;P&gt;This was just asked recently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Importing-a-wlatin1-XPT-file-on-a-system-running-in-UTF-8/m-p/924976" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Importing-a-wlatin1-XPT-file-on-a-system-running-in-UTF-8/m-p/924976&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 20:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-with-converting-UTF-8-encoded-XPT-file-into-SAS-dataset-in/m-p/926526#M83434</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-04-30T20:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with converting UTF-8 encoded XPT file into SAS dataset in WLATIN1 SAS 9.4 environment</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-with-converting-UTF-8-encoded-XPT-file-into-SAS-dataset-in/m-p/926556#M83435</link>
      <description>You could use UNICODE sas to import this kind of XPT , after that just convert this dataset from utf-8 encoding into WALTIN1  encoding by this URL:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/nlsref/p1g1d26os4w0von1cdfh827foo3r.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/nlsref/p1g1d26os4w0von1cdfh827foo3r.htm&lt;/A&gt;</description>
      <pubDate>Wed, 01 May 2024 01:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-with-converting-UTF-8-encoded-XPT-file-into-SAS-dataset-in/m-p/926556#M83435</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-05-01T01:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with converting UTF-8 encoded XPT file into SAS dataset in WLATIN1 SAS 9.4 environment</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-with-converting-UTF-8-encoded-XPT-file-into-SAS-dataset-in/m-p/926610#M83439</link>
      <description>&lt;P&gt;It matters a lot what type of file your "XPT" file is.&amp;nbsp; The XPT extension has no fixed definition.&amp;nbsp; SAS can create V5 XPORT files using the XPORT libref engine.&amp;nbsp; It can make CPORT files using PROC CPORT.&amp;nbsp; You can even now make a modified/enhanced version of the XPORT file format that supports V7/V8/V9 enhancements to the SAS dataset by using the SAS supplied %LOC2XPT() macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what type of file do you have?&amp;nbsp; If you don't know you can use this macro to test your file:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/sasutils/macros/blob/master/xpttype.sas" target="_blank"&gt;https://github.com/sasutils/macros/blob/master/xpttype.sas&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 12:24:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-with-converting-UTF-8-encoded-XPT-file-into-SAS-dataset-in/m-p/926610#M83439</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-05-01T12:24:57Z</dc:date>
    </item>
  </channel>
</rss>

