<?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: Invalid Character Issue - ODS Excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Invalid-Character-Issue-ODS-Excel/m-p/630011#M23826</link>
    <description>&lt;P&gt;What i did is expanding the Format of the column ... from $20. to $50. that was the solution. It seems that representation of the mentioned japanese-characters takes not 7 characters (if you Count it simply) but 21 in total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt; So it was actually a Format issue. Problem solved&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2020 07:23:26 GMT</pubDate>
    <dc:creator>Felix_</dc:creator>
    <dc:date>2020-03-06T07:23:26Z</dc:date>
    <item>
      <title>Invalid Character Issue - ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Invalid-Character-Issue-ODS-Excel/m-p/629816#M23824</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;I have a Special issue regarding japanese characters. I am importing an .xlsx sheet, looking like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.JPG" style="width: 168px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36619iE5B2C3876A285544/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.JPG" alt="Unbenannt.JPG" /&gt;&lt;/span&gt;&amp;nbsp;via a macro, we've built in this comany, using:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;  /*read Excel file*/
  PROC IMPORT DATAFILE = "&amp;amp;p_sInFile." 
    OUT      = &amp;amp;l_sThismacro._1
    DBMS     = XLSX REPLACE;
    SHEET    = "&amp;amp;p_sSheetName"; 
    GETNAMES = NO;
    DATAROW  = &amp;amp;p_nDataRow.;
  RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This works out, and i get as a result a sas-dataset looking like that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt2.JPG" style="width: 302px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36620i41891202B2FD93A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt2.JPG" alt="Unbenannt2.JPG" /&gt;&lt;/span&gt;&amp;nbsp;as soon as i click on the cell, having the invalid character "施設伝達対象外", the Content disappears. see following screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt3.JPG" style="width: 262px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36621iC3951CA8CAADCF3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt3.JPG" alt="Unbenannt3.JPG" /&gt;&lt;/span&gt;&amp;nbsp;All other (japanese only a few) characters in this sheet do not make Problems but the string mentioned above. Especially when using an Export procedure ODS-Excel / PROC REPORT i get the error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Multiple concurrent threads will be used to summarize data.
ERROR: Invalid characters were present in the data.
ERROR: An error occurred while processing text data.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 24 observations read from the data set WORK.DER_DATA_AMG162.
NOTE: PROCEDURE REPORT used (Total process time):
      real time           0.52 seconds
      cpu time            0.51 seconds&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any ideas how to solve this issue with printing the erroneous string into an .xlsx file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance &amp;amp; best regards,&lt;/P&gt;&lt;P&gt;Felix&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 14:18:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Invalid-Character-Issue-ODS-Excel/m-p/629816#M23824</guid>
      <dc:creator>Felix_</dc:creator>
      <dc:date>2020-03-05T14:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Character Issue - ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Invalid-Character-Issue-ODS-Excel/m-p/630005#M23825</link>
      <description>&lt;P&gt;Maybe there is a half of Janpanese character.and occur this kind of error .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you try&lt;/P&gt;
&lt;P&gt;PROC EXPORT&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;ODS TAGSET.EXCELXP ?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 04:35:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Invalid-Character-Issue-ODS-Excel/m-p/630005#M23825</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-03-06T04:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Character Issue - ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Invalid-Character-Issue-ODS-Excel/m-p/630011#M23826</link>
      <description>&lt;P&gt;What i did is expanding the Format of the column ... from $20. to $50. that was the solution. It seems that representation of the mentioned japanese-characters takes not 7 characters (if you Count it simply) but 21 in total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt; So it was actually a Format issue. Problem solved&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 07:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Invalid-Character-Issue-ODS-Excel/m-p/630011#M23826</guid>
      <dc:creator>Felix_</dc:creator>
      <dc:date>2020-03-06T07:23:26Z</dc:date>
    </item>
  </channel>
</rss>

