Tuesday, March 15, 2011

IE 9 issue with Arabic

Have you tried IE9? well, it is released, and you can download from here

It is cool however, an obvious bug is seen while using Arabic text. Here is a sample HTML

<html>
       <head>
              <title name="jspx_generated_1" id="jspx_generated_1">               
              title>
              <meta http-equiv="Content-Type" content="text/html; charset=windows-1256"/>
              <meta http-equiv="Content-Language" content="ar-eg"/>
       head>
       <body dir="rtl" topmargin="0">
              <span style="font-style: italic; font-family: arial;">
              اقرأ كل الاخبار
              span>
       body>
html>


And this should produce the following:








And that what is obtained









To solve this, simply use on of the two style not both of them.

<span style="font-family: arial;">
              اقرأ كل الاخبار
              span>
 OR

<span style="font-style: italic;>
              اقرأ كل الاخبار
              span>


way to GO IE9!









13 comments:

  1. which two style? you are using just one which is:
    style="font-style: italic; font-family: arial;"

    ReplyDelete
  2. remove on of the values in the style
    so it will be
    style="font-style:italic"
    or
    style="font-family:arial"


    then the arabic will be displayed correctly

    ReplyDelete
  3. i can't understand, what exactly i should do?

    ReplyDelete
  4. dont use both style values on the arabic text.

    just use one of them, this will solve the problem

    ReplyDelete
  5. From where should I edit it?
    Thank you.

    ReplyDelete
  6. Any edit? please?

    ReplyDelete
  7. hello two questions, is possible to read data of dynamically generated input in jspx ? And how do i import another page to a jspx to use it like a master page or site master. Please excuse my english.

    ReplyDelete
  8. Hi there,

    I think your question about reading posted data from controls that you created dynamically in run time.
    You have full access on the HTTP request Object. So you can type request.getParameter(paramName).

    The second question is regarding using master pages and templates. It is simply that you create one page as master with all needed styles
    this master page should have place holders
    then you create content jspx pages which will have the actual HTML to be place inside the place holders you defined in the master page.

    please visit http://jspx.sf.net and download the full demo and please contact us on the our support mail

    ReplyDelete
  9. fantastic points altogether, you just gained a emblem new reader.

    What would you suggest in regards to your put up that you made some days in the
    past? Any positive?

    Also visit my blog shirt before shirt jersey shore video

    ReplyDelete
  10. You need to take part in a contest for one of the greatest websites on the net. I'm going to highly recommend this blog!

    ReplyDelete