<?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: Encoding UTF-8 with Accents in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Encoding-UTF-8-with-Accents/m-p/616152#M180336</link>
    <description>&lt;P&gt;Strange. The problem could be the encoding of the file. If it is in utf-8-bom then importing it should not be a problem, sas should even recognize the encoding automatically.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2020 09:28:20 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2020-01-09T09:28:20Z</dc:date>
    <item>
      <title>Encoding UTF-8 with Accents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encoding-UTF-8-with-Accents/m-p/616095#M180309</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have txt file, delimited by '¬' and with spanish accents like 'á', 'é' or 'ñ'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everytime i've tried to encode as wlatin1, it doesn't worked due to the delimiter type but using UTF-8, is well-recognized the fields but all the accents appear in the same and weird form "&lt;SPAN&gt;�"&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;__________________________________________________________________________________________________&lt;/P&gt;&lt;P&gt;options compress=yes;&lt;BR /&gt;LIBNAME RETAIL 'G:\SASData\Riesgos\Herramientas y Metodologías\Cosechas';&lt;BR /&gt;FILENAME MR "G:\SASData\RCI_Compartida\Riesgos\Mina de Riesgos\RCI_MR_20191231.txt"&lt;BR /&gt;ENCODING='UTF-8'&lt;BR /&gt;LRECL=32767;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC IMPORT&lt;BR /&gt;DATAFILE= MR&lt;BR /&gt;OUT=WORK.MINARIESGOS&lt;BR /&gt;DBMS=DLM&lt;BR /&gt;REPLACE;&lt;BR /&gt;DELIMITER="¬";&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;__________________________________________________________________________________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked for some solutions in several posts without success. Also, i don't have admin rights to modify SAS parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any kind of help in this topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. Luisa.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 01:03:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encoding-UTF-8-with-Accents/m-p/616095#M180309</guid>
      <dc:creator>Luisafhc</dc:creator>
      <dc:date>2020-01-09T01:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding UTF-8 with Accents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encoding-UTF-8-with-Accents/m-p/616120#M180318</link>
      <description>&lt;P&gt;Your sas-session uses utf-8?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 06:22:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encoding-UTF-8-with-Accents/m-p/616120#M180318</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-01-09T06:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding UTF-8 with Accents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encoding-UTF-8-with-Accents/m-p/616144#M180330</link>
      <description>Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;, yes it uses utf-8.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 09 Jan 2020 08:35:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encoding-UTF-8-with-Accents/m-p/616144#M180330</guid>
      <dc:creator>Luisafhc</dc:creator>
      <dc:date>2020-01-09T08:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding UTF-8 with Accents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encoding-UTF-8-with-Accents/m-p/616152#M180336</link>
      <description>&lt;P&gt;Strange. The problem could be the encoding of the file. If it is in utf-8-bom then importing it should not be a problem, sas should even recognize the encoding automatically.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 09:28:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encoding-UTF-8-with-Accents/m-p/616152#M180336</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-01-09T09:28:20Z</dc:date>
    </item>
  </channel>
</rss>

