It appears as though the WPF RichTextBox doesn't play well with mixing LTR and RTL characters in the same string.
Pasting the following string into the TextBox gives mixed results including displaying question marks, flipping brackets and changing the position of neutral characers. The issue seems to persist even when putting an LRM character in front of the bracket, as seen in this article: http://www.iamcal.com/understanding-bidirectional-text/.
[KEY]="مرحبا العالم"
Pasting the same text into (for example) Notepad++ displays the text just fine. Is this a known issue, and are there any plans to support this?
Thanks,
Tom
Pasting the following string into the TextBox gives mixed results including displaying question marks, flipping brackets and changing the position of neutral characers. The issue seems to persist even when putting an LRM character in front of the bracket, as seen in this article: http://www.iamcal.com/understanding-bidirectional-text/.
[KEY]="مرحبا العالم"
Pasting the same text into (for example) Notepad++ displays the text just fine. Is this a known issue, and are there any plans to support this?
Thanks,
Tom