<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to escape control characters for excel sheets]]></title><description><![CDATA[<p>Hi,<br />
The excel sheet fails as my data has control characters in it. I am trying to clean up my data but do you know of a good way to do it and possibly include in your code too.<br />
Thanks.<br />
Here is the example text: square thing is DC3 character.<br />
&lt;c t=&quot;inlineStr&quot;&gt;&lt;is&gt;&lt;t&gt;Rule 20B  Design and construction of conduit and substructure to carry electric and communications for PG&amp;E, AT&amp;T and Comcast. The project will also convert existing City facilities from overhead to the new underground system.&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;</p>
<pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;recoveryLog xmlns=&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;&gt;&lt;logFileName&gt;error764160_01.xml&lt;/logFileName&gt;&lt;summary&gt;Errors were detected in file 907e2ff7-1880-4672-a827-14cbf9357d91.xlsx'&lt;/summary&gt;&lt;additionalInfo&gt;&lt;info&gt;Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.&lt;/info&gt;&lt;/additionalInfo&gt;&lt;removedParts&gt;&lt;removedPart&gt;Replaced Part: /xl/worksheets/sheet1.xml part with XML error.  Illegal xml character. Line 3188, column 46.&lt;/removedPart&gt;&lt;/removedParts&gt;&lt;/recoveryLog&gt;
</code></pre>
]]></description><link>https://forum.jsreport.net/topic/515/how-to-escape-control-characters-for-excel-sheets</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 13:04:10 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/515.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 May 2018 23:03:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to escape control characters for excel sheets on Invalid Date]]></title><description><![CDATA[<p>Hi,<br />
The excel sheet fails as my data has control characters in it. I am trying to clean up my data but do you know of a good way to do it and possibly include in your code too.<br />
Thanks.<br />
Here is the example text: square thing is DC3 character.<br />
&lt;c t=&quot;inlineStr&quot;&gt;&lt;is&gt;&lt;t&gt;Rule 20B  Design and construction of conduit and substructure to carry electric and communications for PG&amp;E, AT&amp;T and Comcast. The project will also convert existing City facilities from overhead to the new underground system.&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;</p>
<pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;recoveryLog xmlns=&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;&gt;&lt;logFileName&gt;error764160_01.xml&lt;/logFileName&gt;&lt;summary&gt;Errors were detected in file 907e2ff7-1880-4672-a827-14cbf9357d91.xlsx'&lt;/summary&gt;&lt;additionalInfo&gt;&lt;info&gt;Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.&lt;/info&gt;&lt;/additionalInfo&gt;&lt;removedParts&gt;&lt;removedPart&gt;Replaced Part: /xl/worksheets/sheet1.xml part with XML error.  Illegal xml character. Line 3188, column 46.&lt;/removedPart&gt;&lt;/removedParts&gt;&lt;/recoveryLog&gt;
</code></pre>
]]></description><link>https://forum.jsreport.net/post/2578</link><guid isPermaLink="true">https://forum.jsreport.net/post/2578</guid><dc:creator><![CDATA[rashmim00]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to How to escape control characters for excel sheets on Invalid Date]]></title><description><![CDATA[<p>hi! hmm what is the character that is causing problems in text <code>Rule 20B  Design and construction of conduit and substructure to carry electric and communications for PG&amp;E, AT&amp;T and Comcast. The project will also convert existing City facilities from overhead to the new underground system.</code>? is the <code>&amp;</code>? i think for this case it will be much better if you can provide an example <a href="https://playground.jsreport.net/" rel="nofollow">here</a> that we can run and see the error in live and recommend something to fix your excel sheet.</p>
]]></description><link>https://forum.jsreport.net/post/2583</link><guid isPermaLink="true">https://forum.jsreport.net/post/2583</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to How to escape control characters for excel sheets on Invalid Date]]></title><description><![CDATA[<p>The character is DC3. Can I add an image here because that will show the character I am talking about.</p>
]]></description><link>https://forum.jsreport.net/post/2584</link><guid isPermaLink="true">https://forum.jsreport.net/post/2584</guid><dc:creator><![CDATA[rashmim00]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to How to escape control characters for excel sheets on Invalid Date]]></title><description><![CDATA[<p>Here is the example <a href="https://playground.jsreport.net/studio/workspace/rJxS1IP6G/2" rel="nofollow">https://playground.jsreport.net/studio/workspace/rJxS1IP6G/2</a></p>
]]></description><link>https://forum.jsreport.net/post/2585</link><guid isPermaLink="true">https://forum.jsreport.net/post/2585</guid><dc:creator><![CDATA[rashmim00]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to How to escape control characters for excel sheets on Wed, 02 May 2018 15:15:29 GMT]]></title><description><![CDATA[<p>ok, if your data contains these characters i'm not sure what else you can do than cleaning or escaping those characters, i think you can create a helper which does this and you can call it when printing the value in handlebars, probably <a href="https://stackoverflow.com/questions/24229262/match-non-printable-non-ascii-characters-and-remove-from-text" rel="nofollow">this link</a> can help you with the logic implementation, you will need to replace those characters with empty string</p>
]]></description><link>https://forum.jsreport.net/post/2586</link><guid isPermaLink="true">https://forum.jsreport.net/post/2586</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Wed, 02 May 2018 15:15:29 GMT</pubDate></item></channel></rss>