<?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>Unexpected text output</title><link>https://community.appian.com/discussions/f/general/24182/unexpected-text-output</link><description>Can someone explain what&amp;#39;s going on here? 
 If I try to get the output for the following string: 
 fn!char(65020) &amp;amp; &amp;quot; 21,245.00&amp;quot; 
 the result I get is: 
 
 
 
 
 
 
 
 
 
 
 
 
 ﷼ 21,245.00 
 
 
 
 
 
 
 
 
 
 
 
 
 
 however if I try to get the output</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Unexpected text output</title><link>https://community.appian.com/thread/93280?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 06:42:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4cc93d78-c93d-45fe-bd41-f27da558ea1a</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;As the pattern suggests, the language that you&amp;#39;re trying to use doesn&amp;#39;t work from left to right. Rather it depends on the character.&amp;nbsp;&lt;br /&gt;All the numbers are left aligned. All the text is right-aligned to the language.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected text output</title><link>https://community.appian.com/thread/93263?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 06:04:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3bd501ff-1a2d-4086-84f2-8bae1b3e90aa</guid><dc:creator>Dastagiri D</dc:creator><description>&lt;p&gt;Hi &lt;a class="internal-link view-user-profile" href="/members/marcot0005"&gt;Marco&lt;/a&gt;&amp;nbsp;&amp;nbsp;it was interesting for me. I did some experiment on this, observations are as follows.&lt;/p&gt;
&lt;p&gt;There are two governing factors causing this behavior. 1. Currency Sign and 2. Appian Function using for concatenation&lt;/p&gt;
&lt;p&gt;&lt;span&gt;fn!char(65020)&amp;nbsp;is displays the Arabic Currency&amp;nbsp;Sign&amp;nbsp;(Riyal Sign) using the unicode 65020 (which is for decimal).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since it was the sign for currency, it&amp;nbsp;look for&amp;nbsp;the number and displays according to the Arabic syntax i.e, from right to left&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; fn!char(65020) &amp;amp; &amp;quot; 21,245.00&amp;quot; returns&amp;nbsp;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;﷼ 21,245.00&amp;quot;&lt;/span&gt;&lt;br /&gt; &amp;quot;21,245.00 &amp;quot;&amp;amp; fn!char(65020)&amp;nbsp;&amp;nbsp;returns&amp;nbsp;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;﷼ 21,245.00&amp;quot;&lt;/span&gt;&lt;br /&gt; concat(fn!char(65020),&amp;quot; &amp;quot;,5678 )&amp;nbsp;returns&amp;nbsp;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;﷼ 21245&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;In case of the alphanumeric, if the number is first(left to right) followed by text, it picks the number follows Arabic syntax i.e, from right to left and appends the remaining alphabets.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt; concat(fn!char(65020),&amp;quot; 299dast&amp;quot;)&amp;nbsp;returns&amp;nbsp;&amp;quot;﷼ 299dast&amp;quot;&lt;br /&gt; fn!char(65020) &amp;amp; &amp;quot;299dast&amp;quot;&amp;nbsp;returns&amp;nbsp;&amp;quot;﷼ 299dast&amp;quot;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;In case of the alphanumeric, if&amp;nbsp; alphabets&amp;nbsp;are first(left to right) followed by number, it&amp;nbsp;will treat the alphanumeric as text not as number. S0 it will display in the same format.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;Example:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt; fn!char(65020) &amp;amp; &amp;quot;dast456&amp;quot; returns&amp;nbsp;&amp;quot;﷼dast456&amp;quot;&lt;br /&gt; concat(&amp;quot;dast456&amp;quot;,fn!char(65020) ) returns&amp;nbsp;&amp;quot;dast456﷼&amp;quot;&lt;br /&gt; concat(fn!char(65020),&amp;quot; dast456&amp;quot; ) returns&amp;nbsp;&amp;quot;﷼ dast456&amp;quot;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;concat(&amp;quot;456dast&amp;quot;,fn!char(65020) ) returns&amp;nbsp;&amp;quot;456dast﷼&amp;quot; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;Note: Thought the aphanumeric starts with number, due to concat() and the order, it returns&amp;nbsp;&amp;quot;456dast﷼&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;Above observations can be noticed with any language specific currency sign.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;For example take the INR (India&amp;#39;s currency sign). Syntax starts from left to right.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;fn!char(8377)&amp;amp;&amp;quot; 123&amp;quot; returns &amp;quot;₹ 123&amp;quot;&lt;br /&gt; fn!char(8377)&amp;amp;&amp;quot; 123dast&amp;quot; returns &amp;quot;₹ 123dast&amp;quot;&lt;br /&gt; fn!char(8377) &amp;amp; &amp;quot; 21,245.00&amp;quot; returns &amp;quot;₹ 21,245.00&amp;quot;&lt;br /&gt; &amp;quot;21,245.00 &amp;quot;&amp;amp; fn!char(8377) returns &amp;quot;21,245.00 ₹&amp;quot;&lt;br /&gt; concat(fn!char(8377),&amp;quot; &amp;quot;,21245.00 ) returns &amp;quot;₹ 21245&amp;quot;&lt;br /&gt; concat(fn!char(8377),&amp;quot; 299dast&amp;quot;) returns &amp;quot;₹ 299dast&amp;quot;&lt;br /&gt; fn!char(8377) &amp;amp; &amp;quot;299dast&amp;quot; returns &amp;quot;₹299dast&amp;quot;&lt;/p&gt;
&lt;p&gt;fn!char(8377) &amp;amp; &amp;quot;dast456&amp;quot; returns &amp;quot;₹dast456&amp;quot;&lt;br /&gt; concat(&amp;quot;dast456&amp;quot;,fn!char(8377) ) returns &amp;quot;dast456₹&amp;quot;&lt;br /&gt; concat(fn!char(8377),&amp;quot; dast456&amp;quot; ) returns &amp;quot;₹ dast456&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected text output</title><link>https://community.appian.com/thread/93253?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 20:39:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be46ee29-17c5-4151-984e-04fbd60166af</guid><dc:creator>Dimitris Soulovaris</dc:creator><description>&lt;p&gt;I think it has to do with the fn!char(65020) which is an Arabic symbol and as far as I know in the Arabish language they are writing/reading from right to left. Because if you try to get the char of another symbol i.e.&amp;nbsp;fn!char(650) &amp;amp; &amp;quot; 21,245.00&amp;quot; this will give as result the&amp;nbsp;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;ʊ 21,245.00&amp;quot; or the fn!char(6502) &amp;amp; &amp;quot; 21,245.00&amp;quot; is giving&amp;nbsp;&amp;quot;ᥦ 21,245.00&amp;quot; . As you can see, In both of them the symbol is in the correct position for us, the non-Arabish people :)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;So, I guess the system is indicating the Arabish symbol and this is why is putting it on the right side for them :)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected text output</title><link>https://community.appian.com/thread/93247?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 19:10:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b39bebe2-da3f-4361-8ec6-f2b6ac2d2f19</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Oooh, even weirder update. if I try this one:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;fn!char(65020) &amp;amp; &amp;quot; 112abas &amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I end up with this:&lt;/p&gt;
&lt;div class="SplitPaneLayout---pane SplitPaneLayout---secondary_pane"&gt;
&lt;div class="SplitPaneLayout---contents"&gt;
&lt;div class="TabButtonGroup---tab_group TabButtonGroup---inHeaderBodyLayout"&gt;
&lt;div class="TabButtonGroup---tab_contents_container TabButtonGroup---flush"&gt;
&lt;div class="ContentLayout---content_layout ContentLayout---padding_less"&gt;
&lt;div class="SectionLayout2---sectionLayout SectionLayout2---margin_above_none"&gt;
&lt;div class="CollapsibleElement---collapsible"&gt;
&lt;div class="SectionLayout2---section_contents SectionLayout2---margin_below_standard"&gt;
&lt;div class="ColumnArrayLayout---column_layout ColumnArrayLayout---standard_spacing ColumnArrayLayout---fixed appian-context-last-in-list"&gt;
&lt;div class="ColumnLayout---column ColumnLayout---column_padding_standard ColumnLayout---align_start ColumnLayout---top ColumnLayout---width_auto ColumnLayout---stack_when_phone appian-context-last-in-list"&gt;
&lt;div class="FieldLayout---field_layout FieldLayout---margin_below_none FieldLayout---margin_above_none FieldLayout---inColumnArrayLayout appian-context-last-in-list"&gt;
&lt;div class="FieldLayout---input_below"&gt;
&lt;p class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start elements---global_p"&gt;﷼ 112abas&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="SplitPaneLayout---separator SplitPaneLayout---horizontal SplitPaneLayout---resizable SplitPaneLayout---resizable_cursor"&gt;
&lt;div class="SplitPaneLayout---default_direction SplitPaneLayout---collapse_control_parent SplitPaneLayout---parent_horizontal SplitPaneLayout---collapse_control_parent_right"&gt;with the symbol after the number but before the letters. Is this some weird formatting thing that I&amp;#39;m accidentally triggering?&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>