Start a new topic

Arabic numerals in AR.Label

Arabic numerals in AR.Label


Hi , noramlly using ascii codes for converting latin numerals to arabic and farsi numerals work in HTML and other codes. for example to show "4" you pass "۴" and it will be shown correctly. but passing these values in the first string parameter of AR.Label doesn't work the same way. 

I'll apprecaite if you can help me with this.

thanks very much

Hi,

as the label text property is interpreted as a normal javascript string it is sufficient to provide the text as unicode. E.g. for the unicode character of arabic 9 use "u0669". The typical html encoding of charactes does not work as the string is not interpreted as html text.

Let me know if that helps you.

Thanks a lot Wolfgang , it worked! :)
Login or Signup to post a comment