开发者

Outlook form region right to left

I have created an Outlook add in that has a form region for Outlook 2007. The form region contains the sent, cc and bcc labels (OlkLabel), and some more stuff. This form should support right to left clients, meaning whoever uses Outlook in RTL languages such as Hebrew or Arabic. However, when I open an email I get the "Sent: " label backwards, meaning

:Sent (--> actually Sent stands for Hebrew/Arabic letters) like

נש开发者_C百科לח:

But the point is that the colon are misplaced. Meaning Outlook automatically aligns the textboxes and labels to the right, but the text inside is still left to right.

I didn't find any property of the label, like other program languages have.

Can anyone help me? Thanks :)

Nili


I believe the reason why it happens is, that Unicode directionality algorithm decided to put the colon in this place. Usually adding space character after colon helps. If it is not resolving your issue, try using some strong directionality mark (like U+200F Right-to-Left-Mark or U+202E Right-to-Left-Override‎‎‎‎‎‎).
You could find them in Character Map by selecting advanced view, the last item from "Group by" drop-down and then "Standard punctuation characters" (or whatever it is on English OS, second item from the top in "Group by" pop-up window).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜