Arabic words not displaying correct in flex 4

Hello All,
Please find the attached image with this post.
Arabic words are not displaying completely/correctly. I have makred it with red line, you can see that in the attached image.
<s:TextArea text="{_str}"  width="100%"
                height="100%"
                fontSize="50"
/>
_str  is the String variable which contains  the Arabic text.
Awaiting for prompt response.

Hello Robin,
Thanks for your example, but still problem is not solved.
I have attached image by the name Robin_Example.JPG of your example, you can also noticed (underlined in red color) that your example contains the same problem as I am having.
Here I am pasting the whole code and also sending my arabic text file (TopFirst.txt), for your reference so it will be easy for you to run the application:
<?xml version="1.0" encoding="utf-8"?>
<s:Application 
xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="
library://ns.adobe.com/flex/spark" xmlns:mx="
library://ns.adobe.com/flex/halo" minWidth="
1024" minHeight="768"creationComplete="init()"
xmlns:controls="
flashx.textLayout.controls.*">
<s:layout >
<s:VerticalLayout/>
</s:layout>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<s:HTTPService id="httpServiceObj" url="TopFirst.txt"result="handleResult(event)"
fault="handleFault(event)"
resultFormat="
text"/>
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.controls.Alert; 
import mx.rpc.events.FaultEvent; 
import mx.rpc.events.ResultEvent; 
Bindable] 
private var _str:String; 
private function init():void{httpServiceObj.send();
private function handleResult(event:ResultEvent):void{_str = event.result
as String;}
private function handleFault(event:FaultEvent):void{Alert.show(
"fault is = " + event.fault.faultString);}
]]>
</fx:Script>
<s:TextArea text="{_str}" width="
100%" height="
100%" fontSize="
50"locale="
ar"fontFamily="
Arial"direction="
rtl"/></s:Application>
Now it should be easy for you to understand my problem, as we both have the same code which is not working for arabic.
Thanks for being so supportive.
Awaiting for prompt response.
Regards.

Similar Messages

  • Arabic text not displaying correctly in Win Server 2008 R2

    Hi,
    We have an .mdb database stored on our Windows Server 2008 R2 server but when we view the contents some of the text has strange characters.
    When we view the same db in Windows Server 2003 we do not have these characters. I'm not sure what exactly we need to do to correct this issue..
    Any suggestions welcome..

    Hi,
    Thanks for your post.
    When you open a Web page or a text file that contains a string of Arabic characters, the string is not displayed correctly. This issue occurs when the following conditions are true:
    The Left-to-Right Override (LRO) Unicode control character is used in the string of Arabic characters.
    You specify a font that is not Simplified Arabic Fixed.
    Please apply the hotfix below:
    Incorrectly displayed Arabic characters in Windows 7 or in Windows Server 2008 R2
    https://support2.microsoft.com/kb/976525?wa=wsignin1.0
    And check the result.
    Regards.
    Vivian Wang

  • Thai characters not displaying correctly within App

    Hi everyone,
    I have a Adobe Flex Mobile app displays Thai text, however this is not displaying correctly. While developing the App on my Windows machine and testing using the Adobe Flash Builder mobile emulator, the font/characters look correct.
    However when running the app on either the MAC Adobe Flash Builder emulator, the iPhone simulator or on an actual iPhone, the font/characters are incorrect.
    First I thought that it was maybe an encoding issue (I am using locale properties files to replace text), so followed instructions at this website Flash Builder, Flex language bundles showing strange symbols. Not utf8 encoded.Sefol however this did not solve the issue.
    Looking more closely at the text rendered, it looks as though all of the characters for each word are actually being rendered, but they are just being rendered in correctly. Where as if it was a encoding issue then it would be missing characters completely.
    So if you look at the first character, in the correct version it is built up of 3 components. If you look at the second image, you can see that these three components are present but just not all appearing within one character.
    Is this a font issue? or is it actually an encoding/rendering issue?
    My code for testing this is just a simple label tag
    <s:Label text="ชื่อผู้ใช้" fontFamily="Arial" fontSize="12" />
    Many thanks.

    Ok so after doing a bit more of an investigation into the Font being the issue and not the encoding type, it seems as though if I use a specific font which I know has the Thai characters, then they are displayed correctly.
    I have embedded the font into the App using the code:
    [Embed(source="../assets/Kinnari.ttf", mimeType="application/x-font", embedAsCFF="true", fontFamily="ThaiFont")]
      private var ThaiFont:Class;
    Then on my UI I have added the font:
    <s:Label text="ชื่อผู้ใช้" fontFamily="Arial" fontSize="12" fontFamily="ThaiFont" />
    I was able to find this font at a Hawaiian Educational website! Thai fonts :: Thai Language Program, University of Hawai'i, Manoa
    Thanks @tooMuchTrouble for your help.

  • Umlauts are not displayed correctly in different programs

    Hello!
    I live in germany, but my locale is set to "en_US.UTF8" because I like to have everything in english.
    I do not have any problems with umlauts on the machine, but when I connect with sFTP oder Samba to it, the umlauts in files are not displayed correctly.
    Look at this example
    The upper word is how it looks in "ssh putty" (=locally on the machine), the bottom one is from "filezilla" (from my windows host)
    This is my locale
    locale
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    When I create a file "asd_aöü" locally on the machine (with the help of ssh - putty), it looks fine, but when I connect by samba or filezilla again the umlauts are not displayed correctly.
    Do you understand my problem? What can I do?
    Thanks!
    Last edited by cyberius (2011-02-19 10:12:19)

    Did you check the locale settings on your Windows machine?

  • Why is Times New Roman not displaying correctly in Illustrator CS5?

    Alright, so I'm running Windows 7 64-bit and Illustrator CS5.
    Times New Roman Regular does not display correctly on my machine when using Illustrator CS5, but Bold, Italic, Italic Bold display just fine.  Times New Roman does display correctly in every other program I use.  InDesign, Word, etc.  I've attached a screenshot to show what I mean.  Please help!

    Hi,
    I have an absolutely same bug - looks like font substitute
    I had reinstall font family - no changes. Win 8.1 Illustrator CC.

  • Problems with Turkish characters not displaying correctly

    A user is having problems with certain Turkish characters in particular fonts not displaying correctly (as shown below).
    The two fonts (Gill Sans and Helvetica LT CondensedLight) are used for English language marketing material.  Ideally, for continuity, the same font would be preferred for our Turkish language marketing material rather than changing it to a similar font.
    Helvetica LT CondensedLight
    Turkish character “ İ ” does not display correctly in either Word or InDesign.
    Gill Sans
    Turkish characters “ ş ” and “ ğ ” display correctly in Word but not InDesign.
    My questions are:
    1. For Gill Sans, why are the characters not displaying in InDesign but are in Word?
    2. I've noticed here: http://www.webtype.com/font/gill-sans-family/#glyphs-tab that the required characters are available within the Gill Sans font.  Is this because the font is newer and includes the additional characters?  Would this work in InDesign?

    One of the big differences between InDesign and Word is that Word will happily substitute glyphs without telling you. So, unless your installs of Word and of InDesign are using different versions of Gill Sans (which is possible, BTW) then your s-with-cedilla and your g-with-macron are actually not in Gill Sans but in some other font. I'm guessing Arial.
    It's possible that you have more than one Gill Sans installed (e.g. one in your Document Fonts folder and another in your system fonts folder) that have different glyph complements. Gill Sans has been around a long time, and the version I have from the 90s has no Turkish support whatsoever.
    As far as the capital-I-with-dot, you can check your glyph coverage in a variety of ways. In both InDesign and Word, you can open up a window that shows you all of the glyphs in a font. In InDesign, find it in Type -> Glyphs. In Word, it's called "Insert Symbol" and you can find it in Word 2010 by going to Insert -> Symbol -> More Symbols. I am guessing that the answer to this question is simply that your cut of Helvetica LT has no cap-I-with-dot. You'd need to pick a font that actually has support for Turkish. On WIndows, I use a very full-featured freebie called BabelMap to check font coverage. They have a Web version here:
    http://www.babelstone.co.uk/Unicode/babelmap.html
    but I personally prefer the downloadable .exe file.

  • German Special Characters not displayed correctly in RTF  using code

    Hi ,
    In my code we are using webdynpro method
    WDResourceFactory.createResource(
    byte[] data, String resourceName,WDWebResourceType
    Type)
    Here in our code we are implementing this as
    ITemplateElement templateEl = wdContext.currentTemplateElement();
    WDResourceFactory.createResource(
    templateEl.getReportData(),
    reportName.substring(0, reportName.lastIndexOf('.')),
    WDWebResourceType.RTF); reportName.lastIndexOf('.')),
    Here templateEl.getReportData() returns a set of bytes which has some
    german special characters.
    We are generating the Bytes using String.getByes(),Just before
    String text = new String(in);
    collector.putBusinessObject(boName, bo);
    reportDocTemplateParser(collector, text);
    collector.removeBusinessObject(boName);
    String generatedText = collector.generateRTF();
    out = (null != generatedText) ? generatedText.getBytes() : null;
    The out put is the if i am giving a word with german special characters for eg:
    Betriebsübersichten it first gets converted to bytes and then passes through method WDResouseFactory.createResourse(.....) which creates an RTF file and finally in the RTF file it appears as Betriebsbbersichten the special character is not displayed correctly.
    i came to knw that while converting into bytes we have to make it RTF supported encoding.ie for eg generatedText.getBytes('cp1252').i even tried with other charactersets like ISO-8859,cp1253 and so on but none of them worked.
    It would be really great if you could suggest the needful.
    Thanks and Regards
    Neeta

    I soved this by using get_data function of response object. Then converting this into ISO-8859-1 charset.
    See code below.
    DATA :  lv_encoding   TYPE abap_encoding,
              lv_conv       TYPE REF TO cl_abap_conv_in_ce,
              lv_x_string   type xstring.
      lv_x_string = pv_http_client->response->get_data( ).
        lv_encoding = '1100'.
        lv_conv = cl_abap_conv_in_ce=>create(
                              encoding = lv_encoding
                                 input = lv_x_string ).
        lv_conv->read( IMPORTING data = pv_result ).

  • Links do not display correctly in my pdf

    www and http are not displaying in pdf files converted from MS Word
    When I convert a Word document to pdf using Acrobat Pro 9.0, the website addresses do not display correctly. For instance, if my document shows www.website.com - then the pdf only displays .website.com. Also, if I have the http://www.website.com - I get ://www.website.com. Please HELP! I remember having this problem when I used the trial version of Acrobat 9.0, at the time, I just removed the link & the document converted fine. For this file, I REALLY need the links to be active.
    For now, I have resorted to using a pdfmaker that costs about $5 on e-bay. It works just fine - why doesn't my Adobe Acrobat work?

    PDF maker is the part of AA9 Pro that converts the links for you. You did not say how you are creating the PDFs, but you have to use PDF Maker (the create PDF button in WORD) to get the links correct, or add them manually in Acrobat.
    I have no idea what PDF Maker you are talking about for $5 a day, since it is part of your package and is thus no additional cost. If you are printing to the Adobe PDF printer, you are not using PDF Maker.

  • HTML Form Not Displaying Correctly in Outlook 2010 (Exchange 2013)

    Hello,
    I have recently migrated to Exchange 2013. Clients are still using Outlook 2010. There is an application that automatically sends an HTML form by email for the users to fill in. The form consists of radio buttons, text areas and drop down list. However,
    in Outlook 2010, the form is not rendered properly.
    When I clicked the "If there are problems with how this message is displayed, click here to view it in a web browser" link, the email is opened in
    IE and the form is displayed correctly.
    I also tried opening the same email in other clients, such as Thunderbird, Apple Mail Client and in mobile phones - the form is displayed correctly. I wonder
    why it fails to do so in Outlook 2010. The user mentioned that this does not happen in Outlook 2003 and prior to migration (I used Exchange 2010 previously). I have also tried using OWA, but the form does not display correctly
    Any help?
    Note: I can't attach any images or links as it is mentioned that my account is not verified yet. I will post some screenshots when it is possible to do so

    Hi 
    Outlook 2007 or newer use Microsoft Word for their HTML engine.
    You can refer this page http://www.campaignmonitor.com/css/ shows
    many things that do not work in different clients.I think Someone needs to re-code
    the HTML form to make it work in the current versions of Outlook. You can try formatting with text and HTML and see the results.
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • I web not displaying correctly in Explorer

    Hi guys,
                   I've just uploaded my website , (to Go Daddy) created on iweb (09) and it is perfect in Safari but looks dreadful in Internet Explorer on my PC and a little funky in Firefox.
    In Explorer on my PC (Windows7) boxes are in the wrong position and opacity is not displayed correctly ie I reduced opacity in some elements and they show full opacity. Also Elements such as page content are out of position and obscuring parts of the text.
    Firefox on my Mac is almost ok but shows the lines around a few text boxes.
    Any one had these problems?
    DM

    I have no Windows so I cannot comment on that.
    But some links have spaces to the left and have a wrong link :
    On the About US page the words under the six images at the bottom left do not adjust correctly.
    That's because you use one text box and use spaces between the words to center them under the images.
    Not all spaces have equal width in browsers.
    You may want to use a different Sitename.
    http://www.mclainevideoproductions.com/mclainevideoproductions.com/About_Us.html

  • Non-breaking hyphen not displayed correctly

    The non-breaking hyphen (\u2011, &#8209) is not displayed
    correctly - the wrong glyph is shown.
    To reproduce, do the following:
    1. Start the TLF demo editor
    http://labs.adobe.com/technologies/textlayout/demos/
    2. Import the markup below
    Results:
    - Line wrapping is correct: no line break at the hyphen
    - Times New Roman on Windows does have the glyph defined - it
    should look like an ordinary hyphen.
    This was seen in Build 3291.
    Cheers
    David
    Markup:
    <?xml version="1.0" encoding="utf-8"?>
    <flow:TextFlow whiteSpaceCollapse="preserve" xmlns:flow="
    http://ns.adobe.com/textLayout/2008"><flow:p
    marginRight="5"><flow:span fontSize="60">
    2011 non-breaking hyphen Macro‑media
    </flow:span></flow:p></flow:TextFlow>

    Hi Chris,
    you're right, Times New Roman does not contain the glyph. I
    was seeing 2013 whlie I type 2011 -- my mistake, sorry.
    However, it's a pity non of the OTFs implement this glyph
    (also Myriad Pro doesn't, for instance). Open Office 3 seems to
    replace it by a hypen (which is greyed), and InDesign CS4 also
    seems to replace the character and does no word-wrap at this
    position.
    Of course it would be very convenient if Flash could handle
    it the same way..
    Btw, character map is the same as my "chart table
    application", at least it's my translation from the German
    "Zeichentabelle". :-)
    So, sorry again for the confusion...
    david

  • Uploaded image files not displayed correctly

    Hello everyone,
    I used the following article(on o'reilly) as reference for file upload:
    http://www.onjava.com/pub/a/onjava/2001/04/05/upload.html?page=1
    While it works fine for most files types, there are problems with image files.(I am using PrintStream, BufferedOutputStream,FileOutputStream to write the files on the server).
    When links to these image files are clicked, the uploaded gif and jpeg image files are not displayed correctly.When directly opening the files on the server, it gives a 'error opening file' message.But other word docs , text files do not give an error.
    If anyone else has come across the same problem and could help out , I would appreciate it.
    Thanks in advance.

    I do not want to enter into the logic which you are following to upload the file. I did the upload process successfully even as a blob datatype.
    For this I followed the logic given in http://www.java.isavvix.com/codeexchange/codeexchange-viewdetail.jsp?id=22.
    Here you can download the complete sourse code, which is working fine for gif and jpeg, I tested.
    Please go with this. Also let me know, if you still have problem.
    Regards.

  • Date can not display correctly in excel from .jsp

    Hi,
    I create a .jsp report to export the data to excel. the report run OK, except the date field can not display correctly.
    for example in database :start date ='01-oct-2003'
    in the except it displays to 02/06/02.
    It seem all the date field can not be control in the report, and control by somthing else
    Doese anyone come accross this problem?
    Thanks

    Hi Rong,
    Are you using the following demonstration to build your JSP?
    http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
    (Output to Excel with Oracle9i Report)
    I tried to do the same, and inserted a database date field in the JSP using Reports. I found the following:
    While making the template inside Excel, if I make sure that the format of the date cells is "Date" - some particular date format, the date field values from Reports does not get exported correctly.
    However, if you make sure that inside the template, the format of the date cells is not date, but "General", then the date field values are correctly exported to Excel.
    Pl try it and let us know.
    Navneet.

  • BPS_WB: Please Wait Dialog Box not Displaying correctly???

    When we switched our Planning Interfaces to using the New Planning Interface Design the Please Wiat Dialog Box does not display correctly. 
    When a Request is fired and the client is waiting for the Response all that shows is a white block in the middle of the screen with no dialog screen or other information. 
    It maybe associated with the following:
    function bpsOpenURLSelf(doIt, url)
          if (doIt) {
            try {
                document.body.style.cursor = "wait"; // works only in IE
            } catch (ex) {} // ignore
            open(url,'_self');
          // note: function with doIt==false is used to check
          //       existence of the opener window
    Or it may be associated with a CSS issue?
    I am currently using IE 6.0.2900.2180.
    Any thoughts would be appreciated!
    Thanks, ATC

    Hi Alan,
    please implement SAP note 845305.
    Regards
    Marc
    SAP NetWeaver RIG

  • Search box not displaying correctly in Safari

    How can the search bar on the Apple site not display correctly in Safari? I find this odd that Apple would allow this. It displays like 2 search boxes overlapping each other. It still functions correctly but it is a little embarrassing since I am always bashing windows pro browser display.

    Hi
    Welcome to Apple Discussions
    Might be a corrupted cache or cookies issue. First, go to Safari Preferences>Security>Show Cookies. Type Apple in the Spotlight panel. Highlight/remove the cookies. Then, go to the Safari Menu>Empty Cache. Try the Apple site.
    If the double search panel still appears, go to the Finder: Your User Account>Library>Caches. There, move to the trash the com.apple.safari file. Restart Safari and try the Apple site again.
    Post back

Maybe you are looking for

  • Adobe acrobat 9 pdf files wont print wirelessly using Snow Leopard

    I am unable to print wirelessly adobe acrobat 9 pdf files using Snow Leopard.  Yet I have no problem printing word documents wirelessly.  Adobe techs haven't been able to assist.  Hoping someone out there might have a fix. Jeff

  • How do I change the PDF reading order without changing the image color or Lists?

    When I change the reading order in a PDF (created using InDesign), some images are getting darker. Any idea how to change this back (no, CTRL+Z doesn't work) or prevent it from happening? On a related topic, my PDF passes the 508 compliance check bef

  • Issue Regarding Latin Characters - Accents and Symbols

    I should first introduce myself - I'm a first-year student of database administration. Right now I'm learning the basics of java language. The problem I'm facing here did not happen in past versions of JDK (Last one I used was 1.5.0 Update 6), but no

  • Adding or Updating BusinessPartner ContactEmployee

    Hi all, How can I set the value for FirstName and LastName  while creating or updating BusinessPartner ContactEmployee from DIServer. The WSDL below is from the current DIServer: <ContactEmployee>                   <Name>Galit</Name>                 

  • Preview Window In Inspector Not Visible

    I was working on a Keynote presentation today and noticed that the preview window that is supposed to appear in my Inspector is not available to view - but only under the "Build Inspector" tab - I was able to see a preview in the "Slide Inspector" ta