<?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[html-to-xlsx problem with emojis]]></title><description><![CDATA[<p>Do you have to do anything special to get emojis to work when using the html-to-xlsx recipe?  It looks right in the JSON, but I get an error when trying to render the spreadsheet?  I was able to duplicate the behavior by just going to the &quot;learn&quot; site and modifying the data.json for the basic html2xlsx example to have an emoji which will hopefully help you duplicate the problem:</p>
<p>Report &quot;basic&quot; render failed.</p>
<p>Invalid character &quot;�&quot;, char code: 55357 in string &quot;Economist😊&quot; at index: 9<br />
Error: Invalid character &quot;�&quot;, char code: 55357 in string &quot;Economist😊&quot; at index: 9<br />
at Object.assetLegalXMLChar (/app/node_modules/html-to-xlsx/lib/utils.js:180:11)<br />
at addRow (/app/node_modules/html-to-xlsx/lib/tableToXlsx.js:80:11)<br />
at /app/node_modules/html-to-xlsx/lib/tableToXlsx.js:45:7<br />
at /app/packages/jsreport-html-to-xlsx/lib/htmlToXlsxProcess.js:103:17<br />
at new Promise (&lt;anonymous&gt;)<br />
at Object.getRows (/app/packages/jsreport-html-to-xlsx/lib/htmlToXlsxProcess.js:97:16)<br />
at tableToXlsx (/app/node_modules/html-to-xlsx/lib/tableToXlsx.js:44:17)<br />
at async convert (/app/node_modules/html-to-xlsx/lib/conversion.js:53:20)<br />
at async scriptHtmlToXlsxProcessing (/app/packages/jsreport-html-to-xlsx/lib/htmlToXlsxProcess.js:55:20)<br />
at async module.exports (/app/packages/jsreport-html-to-xlsx/lib/recipe.js:131:18)<br />
at async invokeRender (/app/packages/jsreport-core/lib/worker/render/render.js:97:5)<br />
at async WorkerReporter._render (/app/packages/jsreport-core/lib/worker/render/render.js:151:7)<br />
at async /app/packages/jsreport-core/lib/worker/reporter.js:165:19<br />
at async Domain.&lt;anonymous&gt; (/app/packages/advanced-workers/lib/workerHandler.js:134:19)</p>
]]></description><link>https://forum.jsreport.net/topic/2148/html-to-xlsx-problem-with-emojis</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 14:58:57 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2148.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Oct 2021 21:56:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to html-to-xlsx problem with emojis on Invalid Date]]></title><description><![CDATA[<p>Do you have to do anything special to get emojis to work when using the html-to-xlsx recipe?  It looks right in the JSON, but I get an error when trying to render the spreadsheet?  I was able to duplicate the behavior by just going to the &quot;learn&quot; site and modifying the data.json for the basic html2xlsx example to have an emoji which will hopefully help you duplicate the problem:</p>
<p>Report &quot;basic&quot; render failed.</p>
<p>Invalid character &quot;�&quot;, char code: 55357 in string &quot;Economist😊&quot; at index: 9<br />
Error: Invalid character &quot;�&quot;, char code: 55357 in string &quot;Economist😊&quot; at index: 9<br />
at Object.assetLegalXMLChar (/app/node_modules/html-to-xlsx/lib/utils.js:180:11)<br />
at addRow (/app/node_modules/html-to-xlsx/lib/tableToXlsx.js:80:11)<br />
at /app/node_modules/html-to-xlsx/lib/tableToXlsx.js:45:7<br />
at /app/packages/jsreport-html-to-xlsx/lib/htmlToXlsxProcess.js:103:17<br />
at new Promise (&lt;anonymous&gt;)<br />
at Object.getRows (/app/packages/jsreport-html-to-xlsx/lib/htmlToXlsxProcess.js:97:16)<br />
at tableToXlsx (/app/node_modules/html-to-xlsx/lib/tableToXlsx.js:44:17)<br />
at async convert (/app/node_modules/html-to-xlsx/lib/conversion.js:53:20)<br />
at async scriptHtmlToXlsxProcessing (/app/packages/jsreport-html-to-xlsx/lib/htmlToXlsxProcess.js:55:20)<br />
at async module.exports (/app/packages/jsreport-html-to-xlsx/lib/recipe.js:131:18)<br />
at async invokeRender (/app/packages/jsreport-core/lib/worker/render/render.js:97:5)<br />
at async WorkerReporter._render (/app/packages/jsreport-core/lib/worker/render/render.js:151:7)<br />
at async /app/packages/jsreport-core/lib/worker/reporter.js:165:19<br />
at async Domain.&lt;anonymous&gt; (/app/packages/advanced-workers/lib/workerHandler.js:134:19)</p>
]]></description><link>https://forum.jsreport.net/post/9401</link><guid isPermaLink="true">https://forum.jsreport.net/post/9401</guid><dc:creator><![CDATA[MolallaComm]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to html-to-xlsx problem with emojis on Invalid Date]]></title><description><![CDATA[<p>I appologize for the delay, we will check it out.</p>
<p><a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/4">@bjrmatos</a> Please take a look.</p>
]]></description><link>https://forum.jsreport.net/post/9433</link><guid isPermaLink="true">https://forum.jsreport.net/post/9433</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to html-to-xlsx problem with emojis on Invalid Date]]></title><description><![CDATA[<blockquote>
<p>Do you have to do anything special to get emojis to work when using the html-to-xlsx recipe?</p>
</blockquote>
<p>i will take a look, i see it fails because some validation we do about legal xml chars, will need to verify why we do that, probably it has to do with the support of such chars in xlsx generation.</p>
<p>subscribe <a href="https://github.com/jsreport/jsreport/issues/824" rel="nofollow">here</a> for updates about when this is fixed</p>
]]></description><link>https://forum.jsreport.net/post/9449</link><guid isPermaLink="true">https://forum.jsreport.net/post/9449</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>