<?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: wlatin1 encoded dataset in latin1 sas session in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/wlatin1-encoded-dataset-in-latin1-sas-session/m-p/902153#M356494</link>
    <description>&lt;P&gt;The SESSION encoding (what you see in the ENCODING system option) has to be set when SAS starts.&lt;/P&gt;
&lt;P&gt;So to change that you would need to get your SAS admin to create a application server using a different session encoding and connect to that application server with SAS/STudio instead of the one you are using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have to work with multiple text sources you are probably going to be better off just moving directly to Unicode support. Encoding=UTF-8 instead.&amp;nbsp; Any single byte encoding is going to be limited to 256 different characters.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 19:24:58 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2023-11-08T19:24:58Z</dc:date>
    <item>
      <title>wlatin1 encoded dataset in latin1 sas session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/wlatin1-encoded-dataset-in-latin1-sas-session/m-p/902148#M356490</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having an issue with a datasets with some coding issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am seeing "&amp;amp;#xA;",&amp;nbsp;"&amp;amp;#x9;" , "&amp;lt;U+00A0&amp;gt;" and&amp;nbsp;"&amp;amp;deg;" in some free text fields. Currently I am using a macro to exclude or replace these special characters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then checked the encoding for the dataset and the sas session (I'm&amp;nbsp; using sas studio). For the session, I see "ENCODING=LATIN1 Specifies the default character-set encoding for the SAS session." and for the dataset "ENCODING is wlatin1 Western (Windows)".&amp;nbsp; I'm wondering if it is because the encoding is not matching so these control characters are not translated properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using encoding= Windows-1252 but I don't seem to find a way to set my sas session in wlatin1 in sas studio. Is there a way to set it in wlatin1? Or if there is another route to translate these control characters (eg. line feed) and special characters (eg. degree symbol)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 19:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/wlatin1-encoded-dataset-in-latin1-sas-session/m-p/902148#M356490</guid>
      <dc:creator>lik66</dc:creator>
      <dc:date>2023-11-08T19:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: wlatin1 encoded dataset in latin1 sas session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/wlatin1-encoded-dataset-in-latin1-sas-session/m-p/902153#M356494</link>
      <description>&lt;P&gt;The SESSION encoding (what you see in the ENCODING system option) has to be set when SAS starts.&lt;/P&gt;
&lt;P&gt;So to change that you would need to get your SAS admin to create a application server using a different session encoding and connect to that application server with SAS/STudio instead of the one you are using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have to work with multiple text sources you are probably going to be better off just moving directly to Unicode support. Encoding=UTF-8 instead.&amp;nbsp; Any single byte encoding is going to be limited to 256 different characters.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 19:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/wlatin1-encoded-dataset-in-latin1-sas-session/m-p/902153#M356494</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-11-08T19:24:58Z</dc:date>
    </item>
  </channel>
</rss>

