A space in language from right to left

“em client” If I insert a space in a language written from right to left, the cursor will jump to the extreme left instead of continuing to the right of the text. Any suggestion how to avoid this.
Thanks