A family of Microsoft word processing software products for creating web, email, and print documents.
You're having this problem when typing Arabic because your text direction is left-to-right while the text alignment is to the right. In order to type Arabic correctly, click the "right-to-left text direction" button (shortcut: right CTRL+SHIFT), and make sure that your text alignment is to the right (shortcut: CTRL+R)