I'm displaying arabic text in RichTextEditor. Everything is working fine but when i press space key everything get wrong :-(

i use : iRichTextEdit->SetAlignment(EAknEditorAlignRight); but even then when i insert space, editor adds space char as it was for LeftAligned text :-(

Any tip?