how to solve Arabic language issues using script
Hey everyone!
I hope you all doing well. Anyhow, I'm facing a small issue with Arabic and English.
Sence I can't share and screen shots because it's for my work, sorry. However, I'm reading data from excel sheet and save it in varible -array-. so when using alert to see the content of the varible
alert(column1contentsArray3)it printed correctly. but in the next step when placing each index in text frame it displaies some red boxes. are there any way to solve the issue?

the code to save the data from excel: (i want it in table format)
tmp_textframe2.place(path, true)
tmp_textframe2=tmp_textframe2.parentStory.contents.split('\r')
var column1contentsArray3 = tmp_textframe2
the placing code:
for (var s = 0; s <= tempArr3.length - 1; s++) {
var rect1 = doc.pages[pageIdx].textFrames.add({
geometricBounds: arrayOfdescrptionframe[counterFrame1]v});
rect1.contents = tempArr3[0]
}I'm using index 0 because every time i want the loop to fetch and place the first item. the code works correctly but the red boxes are the problem.
i'm using javasript
