WPF/E (TextBlock) is not rendering Unicode correctly

I have downloaded the WPF/E CTP & SDK, I played with them and have noticed that WPF/E does not fully support Unicode, as I use a TextBlock to test the display of Arabic text, WPF/E was rendering the text incorrectly as if it is rendering the text from left to right while it should render the text from right to left. This same behavior is true for Hebrew too which is also a right-to-left language.



Answer this question

WPF/E (TextBlock) is not rendering Unicode correctly

  • kangalert

    Can we expect full support for Unicode in the full release

  • Vasanth Thangasamy

    Hello Fayez,

    I tried also that and it did not work. I would expect full language support from MS soon hopefully.

    it is a must if they want it to pick up fully.

    I am interested in communicating with you to talk about common topics regarding WPF/E

    feel free to email me

    arabdad@hotmail.com

    thanks


  • Karim Hemani

    Sorry Fayez, I got confused with WPF.
  • Marzullo

    The current CTP does not support bi-directional text

  • windflower

    Hi Fayez,

    There is a new property for right-to-left display. It is called FlowDirection. check this link for more details http://msdn2.microsoft.com/en-us/library/aa350685.aspx


  • B.F.Rej

    The Current CTP doesn't support many international text, such as Arabic, Hebrew or far eastern text.

    However, you can express your text as an image and use an image within your XAML to render it. It's not optimal, but it's a fair enough workaround. I have successfully done this with Chinese text.



  • WPF/E (TextBlock) is not rendering Unicode correctly