<?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: ODS is removing special characters (please make it stop) in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/713358#M24804</link>
    <description>&lt;P&gt;I just find another character '/' which cannot be displayed in column header of ods excel. It appears as a new line feed. Any solution?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2021 14:28:13 GMT</pubDate>
    <dc:creator>jimmy45</dc:creator>
    <dc:date>2021-01-22T14:28:13Z</dc:date>
    <item>
      <title>ODS is removing special characters (please make it stop)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/430622#M20243</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to output a simple frequency using ODS.&amp;nbsp;&amp;nbsp;Either ODS or Excel is removing special characters in the field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SAS output window clearly displays the text "MCLab RO MAIN Campus^24D0404292^CLIA" with the hat character, but when I output it using ODS (either HTML or EXCEL), the hat characters are removed "MCLab RO MAIN CampusD0404292CLIA".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like for the ODS output to reflect exactly what is in the data.&amp;nbsp; How do I make it so that it does not remove the hat character in the ODS output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 19:41:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/430622#M20243</guid>
      <dc:creator>adrake513</dc:creator>
      <dc:date>2018-01-24T19:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODS is removing special characters (please make it stop)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/430645#M20244</link>
      <description>&lt;P&gt;Could this possibly be related to the ODS ESCAPECHAR option?&amp;nbsp; If that option specified the hat character, then ODS would treat that character as an escape character.&amp;nbsp; Perhaps that character is the default escape character in your environment.&amp;nbsp; Maybe try setting it to some other character that isn't in your data?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 20:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/430645#M20244</guid>
      <dc:creator>jmhorstman</dc:creator>
      <dc:date>2018-01-24T20:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS is removing special characters (please make it stop)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/430672#M20245</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I ran a little test and used that string for a label just with SASHELP.CLASS. I do not observe what you report. I see the caret/hat symbol being used in both ODS HTML and ODS EXCEL:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="use_caret.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18086i2C77AC9ED0F26D53/image-size/large?v=v2&amp;amp;px=999" role="button" title="use_caret.png" alt="use_caret.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running 9.4 M3. Is there any chance that you were using ODS ESCAPECHAR='^'; elsewhere in your code? I find that if I have ESCAPECHAR set to ^, then the caret symbols are stripped out of the text string. As a test, right before you PROC FREQ, you could try&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ODS ESCAPECHAR='~';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then see if your ^ symbol appears in the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 20:48:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/430672#M20245</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-01-24T20:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODS is removing special characters (please make it stop)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/713358#M24804</link>
      <description>&lt;P&gt;I just find another character '/' which cannot be displayed in column header of ods excel. It appears as a new line feed. Any solution?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 14:28:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/713358#M24804</guid>
      <dc:creator>jimmy45</dc:creator>
      <dc:date>2021-01-22T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: ODS is removing special characters (please make it stop)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/713435#M24805</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I do not observe that behavior, as shown below when using PROC PRINT or PROC REPORT:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1611338406397.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53805i0C377AE147413881/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1611338406397.png" alt="Cynthia_sas_0-1611338406397.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Since the / is the default split character in PROC REPORT, I did need to modify the split= option in my PROC REPORT code. But as you can see in the default HTML and in the ODS EXCEL output, I can see the / in the column headers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 18:01:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/713435#M24805</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-01-22T18:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS is removing special characters (please make it stop)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/713458#M24806</link>
      <description>&lt;P&gt;thank you, Cynthia.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 19:20:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-is-removing-special-characters-please-make-it-stop/m-p/713458#M24806</guid>
      <dc:creator>jimmy45</dc:creator>
      <dc:date>2021-01-22T19:20:23Z</dc:date>
    </item>
  </channel>
</rss>

