<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Remove accent (replace special character) from the text  Input: &amp;quot;Cámara&amp;quot; Desired Output: &amp;quot;Camara&amp;quot;</title><link>https://community.appian.com/discussions/f/data/21469/remove-accent-replace-special-character-from-the-text-input-camara-desired-output-camara</link><description>How can I remove accent (replace special character) from the text 
 Input: &amp;quot;C&amp;aacute;mara&amp;quot; Desired Output: &amp;quot;Camara&amp;quot;</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Remove accent (replace special character) from the text  Input: "Cámara" Desired Output: "Camara"</title><link>https://community.appian.com/thread/83866?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 15:37:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4441cab-28ff-4a24-bbc6-86900cc50360</guid><dc:creator>gayathris111098</dc:creator><description>&lt;p&gt;If you just need to remove some un printable characters alone you can use clean() function,&lt;/p&gt;
&lt;p&gt;if you want to replace you&amp;nbsp;need to&amp;nbsp; create some logic, very high level example is given below.&lt;/p&gt;
&lt;p&gt;To replace the special characters with some other encoding, try using substitute() function.&lt;/p&gt;
&lt;p&gt;a!localVariables(&lt;br /&gt; local!splitted_text: a!forEach(&lt;br /&gt; items: enumerate(len(ri!text)),&lt;br /&gt; expression: charat(ri!text, fv!index)&lt;br /&gt; ),&lt;br /&gt; local!splCharsReplacedArray_txt: a!forEach(&lt;br /&gt; items: local!splitted_text,&lt;br /&gt; expression: if(&lt;br /&gt; isnull(clean(fv!item)),&lt;br /&gt; /* you can maintain a constant for all chars u want to replace*/&lt;br /&gt; displayvalue(fv!item, { &amp;quot;&amp;aacute;&amp;quot;, &amp;quot;&amp;eacute;&amp;quot;, &amp;quot;&amp;iacute;&amp;quot; }, { &amp;quot;a&amp;quot;, &amp;quot;e&amp;quot;, &amp;quot;i&amp;quot; }, &amp;quot;&amp;quot;),&lt;br /&gt; fv!item&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; joinarray(local!splCharsReplacedArray_txt, &amp;quot;&amp;quot;)&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>