<?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 Issue with latin characters coming from a txt file, in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-latin-characters-coming-from-a-txt-file/m-p/931698#M366529</link>
    <description>&lt;P&gt;Is there any function that can do magic converting the string '&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bij auy bik bil bim bin bio bip biq bir bis bit biu biv biw bix biy biz bja bjb bjc bjd bje bjf bjg bjh bji bjj bjk bjl bjm bjn bjo bjp"&gt;ComunicaciÃ³n 1 aÃ±o'&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;back to its origin&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bij auy bik bil bim bin bio bip biq bir bis bit biu biv biw bix biy biz bja bjb bjc bjd bje bjf bjg bjh bji bjj bjk bjl bjm bjn bjo bjp"&gt;'Comunicación 1 año'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bij auy bik bil bim bin bio bip biq bir bis bit biu biv biw bix biy biz bja bjb bjc bjd bje bjf bjg bjh bji bjj bjk bjl bjm bjn bjo bjp"&gt;That does not work but looks promising.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
   length instr $50;
   length str1 str2 str3 str4 str5 str6 str7 str8 $ 50;
   instr = "SAS" ||"ae"x || " ComunicaciÃ³n 1 aÃ±o";
   put instr;
   str1 = kpropdata(instr, 'UESC','utf-8');
   put str1= +2 str1= $hex34.;
   str2 = kpropdata(instr,'TRIM','utf-8');
   put str2= +2 str2= $hex26.;
   str3 = kpropdata(instr,'BLANK', 'utf-8');
   put str3= +2 str3= $hex26.;
   str4 = kpropdata(instr,'?', 'utf-8');
   put str4= +2 str4= $hex26.;
   str5 = kpropdata(instr,'hex', 'utf-8');
   put str5= +2 str5= $hex26.;
   str6 = kpropdata(instr,'TRUNC', 'utf-8');
   put str6= +2 str6= $hex26.;
   str7 = kpropdata(instr,'REMOVE', 'utf-8');
   put str7= +2 str7= $hex26.;
   str8 = kpropdata(instr,'NCR', 'utf-8');
   put str8= +2 str8= $hex26.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 11 Jun 2024 13:35:50 GMT</pubDate>
    <dc:creator>acordes</dc:creator>
    <dc:date>2024-06-11T13:35:50Z</dc:date>
    <item>
      <title>Issue with latin characters coming from a txt file,</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-latin-characters-coming-from-a-txt-file/m-p/931698#M366529</link>
      <description>&lt;P&gt;Is there any function that can do magic converting the string '&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bij auy bik bil bim bin bio bip biq bir bis bit biu biv biw bix biy biz bja bjb bjc bjd bje bjf bjg bjh bji bjj bjk bjl bjm bjn bjo bjp"&gt;ComunicaciÃ³n 1 aÃ±o'&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;back to its origin&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bij auy bik bil bim bin bio bip biq bir bis bit biu biv biw bix biy biz bja bjb bjc bjd bje bjf bjg bjh bji bjj bjk bjl bjm bjn bjo bjp"&gt;'Comunicación 1 año'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bij auy bik bil bim bin bio bip biq bir bis bit biu biv biw bix biy biz bja bjb bjc bjd bje bjf bjg bjh bji bjj bjk bjl bjm bjn bjo bjp"&gt;That does not work but looks promising.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
   length instr $50;
   length str1 str2 str3 str4 str5 str6 str7 str8 $ 50;
   instr = "SAS" ||"ae"x || " ComunicaciÃ³n 1 aÃ±o";
   put instr;
   str1 = kpropdata(instr, 'UESC','utf-8');
   put str1= +2 str1= $hex34.;
   str2 = kpropdata(instr,'TRIM','utf-8');
   put str2= +2 str2= $hex26.;
   str3 = kpropdata(instr,'BLANK', 'utf-8');
   put str3= +2 str3= $hex26.;
   str4 = kpropdata(instr,'?', 'utf-8');
   put str4= +2 str4= $hex26.;
   str5 = kpropdata(instr,'hex', 'utf-8');
   put str5= +2 str5= $hex26.;
   str6 = kpropdata(instr,'TRUNC', 'utf-8');
   put str6= +2 str6= $hex26.;
   str7 = kpropdata(instr,'REMOVE', 'utf-8');
   put str7= +2 str7= $hex26.;
   str8 = kpropdata(instr,'NCR', 'utf-8');
   put str8= +2 str8= $hex26.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jun 2024 13:35:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-latin-characters-coming-from-a-txt-file/m-p/931698#M366529</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2024-06-11T13:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with latin characters coming from a txt file,</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-latin-characters-coming-from-a-txt-file/m-p/931700#M366530</link>
      <description>&lt;P&gt;KCVT().&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  have='ComunicaciÃ³n 1 aÃ±o';
  expect= 'Comunicación 1 año';
  want = kcvt(have,'utf-8','wlatin1');
  same=expect=want;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tom_0-1718113131828.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97205iB687653587AFA6D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Tom_0-1718113131828.png" alt="Tom_0-1718113131828.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 13:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-latin-characters-coming-from-a-txt-file/m-p/931700#M366530</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-06-11T13:39:02Z</dc:date>
    </item>
  </channel>
</rss>

