locked
Windows CE Localization Problem RRS feed

  • Question

  • How can i display Arabic text on my C# application in Windows CE 4 Platform?

    Can any one help?

     

     

    Wednesday, June 28, 2006 8:08 PM

Answers

  • This sample won't work either without Arabic fonts which are generally only available on devices localized in Arabic. I suppose if you have purchased Arabic font(s), you can install them to your device and change all forms and controls in your project to use these fonts instead of standard ones.

    Yes, Windows CE indeed supports Unicode and Arabic characters are represented correctly internally. However, on none-localized devices fonts don't have images for these characters so they can’t be rendered and you only see squares.

    Another problem is RTL which is not related to Unicode. RTL support was added to CE 5, but NETCF does not offer it. Even with proper fonts text might be aligned and displayed incorrectly (e.g. mirrored) and input would not work as it should.

    http://www.danielmoth.com/Blog/2005/03/rtl-problem.html

    Wednesday, June 28, 2006 10:07 PM

All replies

  • By purchasing and using device localized in Arabic. As soon as you have one there’s nothing special you need to do.

    If your device is not properly localized you would most likely get bunch of squares instead of characters.

    Wednesday, June 28, 2006 8:36 PM
  • Thank you for reply, but i've found a code written in eVC++ that can do this in The Code Project http://www.codeproject.com/ce/arabicsupport.asp and the problem that i can't implement a code like this in C# because this will need a call to the Arabize function before displaying any text and will not be suitable for lables and other form controls.

     

    I know that windows CE supports unicode, isn't any way to change code page?

     

     

    Wednesday, June 28, 2006 9:19 PM
  • This sample won't work either without Arabic fonts which are generally only available on devices localized in Arabic. I suppose if you have purchased Arabic font(s), you can install them to your device and change all forms and controls in your project to use these fonts instead of standard ones.

    Yes, Windows CE indeed supports Unicode and Arabic characters are represented correctly internally. However, on none-localized devices fonts don't have images for these characters so they can’t be rendered and you only see squares.

    Another problem is RTL which is not related to Unicode. RTL support was added to CE 5, but NETCF does not offer it. Even with proper fonts text might be aligned and displayed incorrectly (e.g. mirrored) and input would not work as it should.

    http://www.danielmoth.com/Blog/2005/03/rtl-problem.html

    Wednesday, June 28, 2006 10:07 PM