<?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: Converting  WLATIN1 data to UTF-8 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720458#M223190</link>
    <description>&lt;P&gt;Hi &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/323348" target="_blank"&gt;contactnishan&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname inlib cvp 'c:\source_folder' inencoding='wlatin1';
libname outlib 'c:\target_folder' outencoding='UTF-8';
proc copy in=inlib out=outlib noclone;
   select dataset1 dataset2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For more information, see this blog post &lt;A href="https://blogs.sas.com/content/sgf/2020/08/12/expanding-lengths-of-all-character-variables-in-sas-data-sets/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2020/08/12/expanding-lengths-of-all-character-variables-in-sas-data-sets/&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Feb 2021 14:07:00 GMT</pubDate>
    <dc:creator>LeonidBatkhan</dc:creator>
    <dc:date>2021-02-19T14:07:00Z</dc:date>
    <item>
      <title>Converting  WLATIN1 data to UTF-8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720446#M223185</link>
      <description>&lt;P&gt;Hello SAS Geniuses,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some data encoded in WLATIN1 format, want to run some analyses in SAS University Edition that is natively running utf-8 encoding. I came across this link here&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=viyadatamig&amp;amp;docsetTarget=p1eedruqfsgqqcn1pmjof4br5xvt.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=viyadatamig&amp;amp;docsetTarget=p1eedruqfsgqqcn1pmjof4br5xvt.htm&amp;amp;locale=en&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I tried the steps mentioned in the link but it doesn't work.&lt;/P&gt;&lt;P&gt;Are there easy ways to convert a wlatin1 sas data to be read properly in utf-8?&lt;/P&gt;&lt;P&gt;Help would be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nishan&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 13:19:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720446#M223185</guid>
      <dc:creator>contactnishan</dc:creator>
      <dc:date>2021-02-19T13:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Converting  WLATIN1 data to UTF-8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720456#M223189</link>
      <description>&lt;P&gt;Using the encoding-option in the infile statement should do it.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 13:59:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720456#M223189</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-02-19T13:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting  WLATIN1 data to UTF-8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720458#M223190</link>
      <description>&lt;P&gt;Hi &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/323348" target="_blank"&gt;contactnishan&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname inlib cvp 'c:\source_folder' inencoding='wlatin1';
libname outlib 'c:\target_folder' outencoding='UTF-8';
proc copy in=inlib out=outlib noclone;
   select dataset1 dataset2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For more information, see this blog post &lt;A href="https://blogs.sas.com/content/sgf/2020/08/12/expanding-lengths-of-all-character-variables-in-sas-data-sets/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2020/08/12/expanding-lengths-of-all-character-variables-in-sas-data-sets/&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 14:07:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720458#M223190</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2021-02-19T14:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Converting  WLATIN1 data to UTF-8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720484#M223196</link>
      <description>It helped. Thank you so much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 19 Feb 2021 15:16:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720484#M223196</guid>
      <dc:creator>contactnishan</dc:creator>
      <dc:date>2021-02-19T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Converting  WLATIN1 data to UTF-8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720646#M223248</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.class;
run;




proc datasets library=work nolist nodetails;
modify have/correctencoding='utf8';
quit;
proc contents data=have varnum;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 20 Feb 2021 12:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-WLATIN1-data-to-UTF-8/m-p/720646#M223248</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-02-20T12:23:15Z</dc:date>
    </item>
  </channel>
</rss>

