Unexpected text output

Certified Senior Developer

Can someone explain what's going on here? 

If I try to get the output for the following string: 

fn!char(65020) & " 21,245.00"

the result I get is: 

﷼ 21,245.00

however if I try to get the output for the following:
fn!char(65020) & "ABCD"
the result I get is: 
﷼ABCD
Can someone explain to me why it's essentially the same expression, but the symbol is on the right with the number and on the left with the letters?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 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. fn!char(650) & " 21,245.00" this will give as result the "ʊ 21,245.00" or the fn!char(6502) & " 21,245.00" is giving "ᥦ 21,245.00" . As you can see, In both of them the symbol is in the correct position for us, the non-Arabish people :) 

    So, I guess the system is indicating the Arabish symbol and this is why is putting it on the right side for them :)