<?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: What to do about weird characters in the data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-to-do-about-weird-characters-in-the-data/m-p/640622#M190870</link>
    <description>&lt;P&gt;It seems you do not have a problem with data, but with code. This kind of ERROR message is simply impossible with using proc import or libname excel to read Excel data.&lt;/P&gt;
&lt;P&gt;Please post the &lt;EM&gt;complete&lt;/EM&gt; log of the &lt;EM&gt;step&lt;/EM&gt; causing this ERROR. As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;already advised, use the &amp;lt;/&amp;gt; button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.png"&gt;&lt;img src="https://communities.sas.com/skins/images/8D8B612AA6AB1DC7E9A0812281D56E02/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2020 07:18:33 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-04-17T07:18:33Z</dc:date>
    <item>
      <title>What to do about weird characters in the data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-to-do-about-weird-characters-in-the-data/m-p/640563#M190838</link>
      <description>&lt;P&gt;After importing the Excel data into SAS EG it is converting double quotation marks " to some sort of hexadecimal character.&amp;nbsp; This is the error message I get.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: #ffffff;"&gt;217&lt;BR /&gt;ERROR 217-322: Invalid statement due to first character being unprintable &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (hexadecimal representation: 9D).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: #ffffff;"&gt;Now even after deleting the lines of code involving the variable with the weird data, and even after saving the project and closing out of EG, then reopening EG and running the program, I still get this message. &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: #ffffff;"&gt;My program ran fine for the other variables, but now even that doesn't work.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: #ffffff;"&gt;Please help!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 21:05:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-to-do-about-weird-characters-in-the-data/m-p/640563#M190838</guid>
      <dc:creator>hein68</dc:creator>
      <dc:date>2020-04-16T21:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: What to do about weird characters in the data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-to-do-about-weird-characters-in-the-data/m-p/640568#M190840</link>
      <description>&lt;P&gt;Almost certainly the character is not the programming " double quote that is on the key board but a pretty version that curls. Which is an entirely different character and would have to see the source file encoding to know what likely value it may be be. May be Unicode or foreign language encoded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the file is supposed to be Code, the only reason I can think you would get that particular message that way, then you either need to fix the quote character in the source file before what ever you are doing or at least before attempting to use it as code.&lt;/P&gt;
&lt;P&gt;Since you don't show what the lines actually look like it is kind of hard to be more specific.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might try showing us what the actual code EG is creating/using looks like. better might be to show the entire log for the step getting the errors. If you show code or log you need to copy the lines and paste into the the code box opened on the forum using the &amp;lt;/&amp;gt; icon to preserve formatting and to keep the forum from interpreting any odd characters as HTML directives.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 21:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-to-do-about-weird-characters-in-the-data/m-p/640568#M190840</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-04-16T21:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: What to do about weird characters in the data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-to-do-about-weird-characters-in-the-data/m-p/640622#M190870</link>
      <description>&lt;P&gt;It seems you do not have a problem with data, but with code. This kind of ERROR message is simply impossible with using proc import or libname excel to read Excel data.&lt;/P&gt;
&lt;P&gt;Please post the &lt;EM&gt;complete&lt;/EM&gt; log of the &lt;EM&gt;step&lt;/EM&gt; causing this ERROR. As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;already advised, use the &amp;lt;/&amp;gt; button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.png"&gt;&lt;img src="https://communities.sas.com/skins/images/8D8B612AA6AB1DC7E9A0812281D56E02/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 07:18:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-to-do-about-weird-characters-in-the-data/m-p/640622#M190870</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-17T07:18:33Z</dc:date>
    </item>
  </channel>
</rss>

