Copy link to clipboard
Copied
i am trying unsuccessfully to write a code which includes hebrew letters, some thing like:
var hebrew_words:Array= [״אבא״,״אבג״,״גבע״]
how can i do it?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
the problem is not with the text field which is ok.
the problem is simply writing the script in the actions .
Copy link to clipboard
Copied
use a font that supports hebrew characters.
Copy link to clipboard
Copied
how can i change the fonts used to write scripts?
Copy link to clipboard
Copied
click edit>preferences>code editor>font>select an appropriate font.
Copy link to clipboard
Copied
i did as you suggested however the problem with the right to left writing. the letters overlaps when trying to put comma between words in array
Copy link to clipboard
Copied
create an xml or plain text file with that arrary and load it.
Copy link to clipboard
Copied
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=[״דג״,״בן״,״בת״,״פז״,״הר״,״פר״,״טל״,״כר״,״קר״,״תן״,״אף״,״גל״,״דב״,״דף״]
Find more inspiration, events, and resources on the new Adobe Community
Explore Now