Skip to main content
Known Participant
March 23, 2015
Question

insert hebrew letters in variables

  • March 23, 2015
  • 2 replies
  • 524 views

i am trying unsuccessfully to write a code which includes hebrew letters, some thing like:

var hebrew_words:Array= [״אבא״,״אבג״,״גבע״]

how can i do it?

This topic has been closed for replies.

2 replies

udikAuthor
Known Participant
April 11, 2015

i created plain text file with the array but when pasting in actions still get LTR instead RTL.

very strange - when i paste it in "actions" the letters are LTR and unreadable however when i paste it again (for example in this post - as you can see)  it is ok.

so the problem is in mixing lft and rtl in code editor. tried to change preferences but no result.

var milim:Array=[״דג״,״בן״,״בת״,״פז״,״הר״,״פר״,״טל״,״כר״,״קר״,״תן״,״אף״,״גל״,״דב״,״דף״]

kglad
Community Expert
Community Expert
March 23, 2015

i assume you're using that to display in a textfield.  if so, make sure you're embedding your font and that it's capable of displaying hebrew and you may need to use some rtl legerdemain.

udikAuthor
Known Participant
March 24, 2015

the problem is not with the text field which is ok.

the problem is simply writing the script in the actions .

kglad
Community Expert
Community Expert
March 24, 2015

use a font that supports hebrew characters.