How can i copy and paste arabic in After effects?

When i try to copy and paste arabic text in After effects the letters in the words look divided one from the other.
I already had the same problem with Ps and i had to change the settings of the software in “middle east settings” but i don´t find this solution in the Ae menu´, i discovered a script online but i think it´s more about typing than copy and paste