Arabic numerals not displaying in Swing text components

On a test system setup with Windows NT Arabic version, we had problems entering Arabic numerics into Swing text components.
Other Arabic characters were displayed correctly, but numerals were all represented by Western characters ('0 to 9'). Even when using the "Alt-" method to enter the Unicode character codes via. the keypad, we still got incorrect characters.
When using the keypad to enter the code '\u0660' (Arabic "1"), the code sent to the text component was '\u2022' (Bullet).
We tried this on an English system and the same code was passed to the text component.
Does anyone have any suggestions as to what might be the cause of this problem ?
Thanks,
Brian...

hello!
I am developing an arabic editor but i am unable to display the arbic numeric in swing text .Plz help me on this topic and send some code example on this topic.
I have another problem about events i.e how can i handle the beckspace event, enter event, and spaceevent?
plz send me mail .
Thanx for advance.

Similar Messages

  • 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.

  • Arabic Characters not displaying properly in SQL+ Enviorment

    Hi,
    I have Oracle 8i ,I am able to insert and view arabic characters properly from asp and asp.net application but whenever i tried to run sql scripts to fetch arabic data it displays only reverse'?'sign in place of all characters .....
    Is there any particular setting to be ..... If yes please also mention the steps.
    Bye

    May I assume since you're using ASP that you're on Windows? The only way I'm aware to be able to display Arabic characters on Windows would be to set your Windows language to Arabic. This will be somewhere in the Control Panel, but without knowing what version of Windows you're on, it's hard to be more specific.
    In general, SQL*Plus is not a wonderful tool for viewing non-English data.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Arabic is not displayed properly in Oracle Forms...

    Hi,
    I'm using oracle 9i database and forms 6i. mt database contains arabic data and the character set of database is "UTF8". when i display the data in arabic in forms, it is giving junk characters. i set the NLS_LANG for forms to UTF8 in the registry. still the arabic is not showing properly.
    pl. tell me how i can resolve this problem.
    regards
    george

    Hi Gregor
    I think you're out of luck. There is no Arabic language pack for Xcelsius.
    When you're in design mode, you're using the Windows OS features, but when you try to preview or export then Xcelsius begins the process of converting the xlf to a swf. And since there is no lang pack it doesn't know what to do with the Arabic characters.

  • Images in wwv_flow_file_objects$  do not display in the shared components

    Recently I needed to re-create an APEX workspace. The schema was intact, so I just created a new APEX workspace mapped to that schema and re-imported my apps.
    All was well EXCEPT that the images and files (e.g. style sheets) previously uploaded to the database under the original workspace were missing. Looking at the wwv_flow_file_objects$ table I saw the images and files were present but their security ID did not match that of the new APEX workspace.
    I updated the security ID and the files and images now work BUT THEY DO NOT DISPLAY IN THE SHARED COMPONENT LISTINGS. My fear is that I'll try to upload an image or file by the same name and they'll stop working because there will then be two rows in wwv_flow_file_objects$ with the same file name and security ID.
    Does anyone know how to get these items to display properly in the shared component reports?

    If they were application-specific, you would need to ensure that the new flow_id value in the table matched that of the application to which the file should be associated. If not, that value should be zero.
    Scott

  • Arabic does not display properly

    I was able to see Arabic characters but the letters in each word were not connected as they should. That's an issue with Safari engine.
    I almost bought this sucker. Too bad. Have to wait until Apple fixes this issue.

    Arabic is not officially supported yet.
    These are the supported languages:
    Language support for English, French, German, Japanese, Dutch, Italian, Spanish, Portuguese, Danish, Finnish, Norwegian, Swedish, Korean, Simplified Chinese, Traditional Chinese, Russian, and Polish
    International keyboard and dictionary support for English (U.S.), English (UK), French (France), French (Canada), German, Japanese, Dutch, Italian, Spanish, Portuguese (Portugal), Portuguese (Brazil), Danish, Finnish, Norwegian, Swedish, Korean (no dictionary), Simplified Chinese, Traditional Chinese, Russian, and Polish

  • Character reordering problem in swing text components  on macintosh

    I have created a swing application that handles devanagari script.(script for Hindi language).The application works perfectly in windows but in apple macintosh
    there is a problem with the reordering of characters in text componets. Reordering means some characters needs to be displayed not in the exact order in which they are stored.I was wondering how this can happen as the application works fine on windows.Also other applications like text editor displays devanagari script correctly on macintosh.
    I tried with several fonts like Arial Unicode MS,Devanagari MT etc/.java

    Very odd. Post your Reordering code.

  • Arabic language not displayed in Oracle 11g

    Dear all,
    I have problem in inserting data Arabic language into oracle database 11g.. it displays " ??????? "
    I am programming a php application that insert data into oracle database, and I did as described in forums but still not working.
    here is what i did:
    NLS_LANG value is set to AMERICAN_AMERICA.AR8MSWIN1256
    Database character set is: AL32UTF8
    Arabic language is installed in windows regional and language settings, and Arabic keyboard
    HTML page character set is: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    I cant figure out whats causes the problem in my case. any help will be much appreciated.
    Regards

    Hi guys
    and thanks for the replies.. and sorry for my late reply
    I tried using ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256 in NLS_LANG but still the same issue,
    The way am viewing the input is via Oracle Enterprise Manager.
    And the way am inserting the values are via html form and php.
    Also, I tried selecting data and viewing it in the browser but also show "????"
    I haven't try AL32UTF8 instead of AR8MSWIN1256 yet, am gonna try and reply soon.
    Thanks

  • Arabic characters not displaying in Forms

    Problem :
    I have a xml in the unix server machine and I try to read that xml file through a dba job which is using simple utl_file functionality.
    To read the file and put in a table of column CLOB.
    I'm checking it from front end Oracle 10g form 's text item , I'm getting junk characters like ???????
    I tried to check whether the data stored in db is correct by running below program to generate message to the text file
    BEGIN
    for x in (
    select message from tb_xml_in where xml_sr_no='123'
    loop
       clob_to_file( '/test/debug/',
       'test' || '.txt',
       x.message );
    end loop;
    END;I transferred the test.txt from unix and checked in notepad of my machine where Arabic character is enabled
    and it is showing me Arabic character.
    Which means its storing correct in db but not able to show it correct in through FMB.
    Database details:
    NLS parameter is
    NLS_LANGUAGE          AMERICAN
    NLS_TERRITORY          AMERICA
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_CHARACTERSET     AR8MSWIN1256
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_RDBMS_VERSION     10.2.0.4.0
    select * from V$NLS_VALID_VALUES where parameter = 'CHARACTERSET' and value like '%UTF%';
    PARAMETER     VALUE          ISDEPRECATED
    CHARACTERSET     AL24UTFFSS     TRUE
    CHARACTERSET     UTF8          FALSE
    CHARACTERSET     UTFE          FALSE
    CHARACTERSET     AL32UTF8     FALSE
    CHARACTERSET     AL16UTF16     FALSE
    select * from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      ProductionChanging NLS Characterset of db is not currently recommended as the production database is very huge.
    Can you please help on how i can resolve this issue.

    even though the NLS_LANG is AMERICAN_AMERICA.US7ASCII in formconfig.
    My utl_file.Get_line not reading arabic character in my xml file.
    since my incoming xml is in UTF8 format, I used following code to read xml as raw data type and converting format from UTF8 to database format(i.e., Arabic) and I'm able to see Arabic from front end
    DECLARE
    v_Data1 varchar2(32767 BYTE);
    v_Data2 varchar2(32767 BYTE);
    v_Raw1 raw(32767);
    v_Targetcharset varchar2(40 BYTE);
    v_Dbcharset varchar2(40 BYTE);
    v_inf UTL_FILE.FILE_TYPE;
    l_UTL_DIR varchar2(1000) := '/test/arabic/in/xml/';
    v_Filecharset varchar2(100);
    v_nchar NVARCHAR2(4000);
    BEGIN
    v_Filecharset := 'AMERICAN_AMERICA.AL32UTF8' ;
    v_Dbcharset:= 'ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256' ;
    dbms_output.put_line('here1');
    V_Inf := UTL_FILE.FOPEN(l_UTL_DIR,'testing.xml', 'R',32767);
    dbms_output.put_line('here2');
    UTL_FILE.GET_RAW(V_inf, v_Raw1, 2000);
    dbms_output.put_line('here3');
    v_Raw1 := UTL_RAW.CONVERT (v_Raw1,v_Dbcharset,v_Filecharset);
    dbms_output.put_line('here5');
    v_Data2 := utl_raw.cast_to_varchar2 (v_Raw1);
    dbms_output.put_line('here6');
    update sample_test set sample_col1 = v_Data2
    where sample_col2 ='XXXXX';
    UTL_FILE.FClose(v_inf);
    commit;
    EXCEPTION
    WHEN OTHERS THEN
         dbms_output.put_line('SQLERRM ='||SQLERRM);
    End;
    /Edited by: Leonard on Aug 31, 2012 4:32 AM

  • Yen Symbol Not Displayed Correctly in Text

    Hi all,
    I am trying to create a text file in the application server using the command "OPEN DATASET IN TEXT MODE", which I am able to do so far.  The data to be transferred to the text file contains the Yen Symbol: ¥  or ALT+0165.  The symbol is being displayed correctly in SAP, but when I open the text file created my notepad is only displaying a small box or dot:
    ・45,000;
    but when I try to manually type the yen symbol on the notepad I am able to do it correctly!  For additional this is the code snippet in question:
      LOOP AT i_tag INTO wa_tag.
        ls_tag = wa_tag.
        AT NEW grouping.
          CLEAR v_path.
    *--- define and open file path for file group
          CONCATENATE ls_tag-pathextern ls_tag-file INTO v_path.
          OPEN DATASET v_path FOR OUTPUT  IN TEXT MODE.
          IF sy-subrc <> 0.
            CLOSE DATASET v_path.
            CLEAR v_path.
          ENDIF.
        ENDAT.
        CHECK NOT v_path IS INITIAL.
        PERFORM:
          prepare_file_data,
          prepare_file_line CHANGING v_line.
        IF NOT v_line IS INITIAL AND wa_tag-tag_menge > 0.
          DO wa_tag-tag_menge TIMES.
            TRANSFER v_line TO v_path.
          ENDDO.
        ENDIF.
        AT END OF grouping.
          CLOSE DATASET v_path.
          CLEAR i_filenames.
          i_filenames-file = ls_tag-file.
          APPEND i_filenames.
        ENDAT.
      ENDLOOP.
    is there any additional preparation i need to transfer the yen symbol properly?  By the way the system is  4.6c.
    Thanks in advance!

    Before writing to the file change ¥ into  in order to translate properly to in the text file.

  • Firefox and Safari browser not displaying images and text properly

    Hello,
    I am new to the support/discussion forum and previously ran Windows on my Macbook OS X 10.5.8. I switched over to the Mac OS X and am finding that the Safari and Firefox browser shows much images/text as 'squished' or not aligned properly. I suppose this is due to development and the cross browser formats are not compatible.
    However, I would like to ask if there is some display error in the system preferences or perhaps even some coding I'm not looking at to correct or fix the appearance.
    Can anyone please help me out? I appreciate it:)

    You are not using the latest Spry files
    The latest version of the Adobe Spry Framework is 1.6.1, this is the same version that ships with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its wise to upgrade your files to the latest version. This can easily be done using the Spry Updater that can be found here.
    Then, if you have a look near the bottom of SpryMenuBarVertical.css you will see that the white background colour has been specified for IE as in
    @media screen, projection
        ul.MenuBarVertical li.MenuBarItemIE
        display: inline;
        f\loat: left;
        background: #FFF;
    Change the value to #CCC and it will have fixed that part of the problem.
    When you upgrade to the later version of Spry, make sure to keep a copy of the CSS file as a reference to modifying the new CSS file.
    Gramps

  • Image not displaying with HTML text field

    I am trying to display am image within
    flash using CS3.
    I have a text field with the following code.
    feedback.htmlText = "<img src='Logo_small.png'</img>"
    nothing displays. The image and flash document are at the same level, so that is why I am using a relative link. Do I need to use a full (absolute) link to the image?

    That's not properly coded html...
    feedback.htmlText = "<img src='Logo_small.png' />";
    image tags do not have a closing tag and you didn't close the opening tag if they did, so it would still fail.

  • Icons not displaying correctly getting text instead.

    I have tried all options that I have found on your forum with no luck. I went as far as resting my Firefox to default with no success.
    Using MAC 10.8.5
    My setting are set up correct - Allow pages to choose their own fonts, instead of my selections above is checked.
    I also rest this as well
    gfx.downloadable_fonts.enabled
    So far no luck I am still getting text instead of the icons.

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    *Use a compressed image type like PNG or JPG to save the screenshot
    *Make sure that you do not exceed the maximum size of 1 MB

  • Arabic characters not displayed properly in the preview mode

    Hi,
    I am preparing a tool in arabic and all arabic characters seem to be displayed correctly in the design mode, but become illegible in the preview mode or when exported in flash (swf). Help much appreciated.
    Gregor

    Hi Gregor
    I think you're out of luck. There is no Arabic language pack for Xcelsius.
    When you're in design mode, you're using the Windows OS features, but when you try to preview or export then Xcelsius begins the process of converting the xlf to a swf. And since there is no lang pack it doesn't know what to do with the Arabic characters.

  • Update Results not Displayed in Oracle Text search with Transactional Index

    Hi,
    I am working on a solution utilising Oracle Text to give me a probable list of matching records. The problem I have the table I am searching on is prepopulated with seed data and the application we are building is assigning a record and updating the details(columns) against it. This detail is what we are searching on using an Multi Column Datastore index which is refreshed every hr and also has the transactional parameter specified. Unfortunately the Transactional Index does not pick up the updated details, it only seems to work if I insert a new record (which will never happen). This to me sounds like a bug. Any assistance would be greatly appreciated.

    Barbara,
    I think you may have eluded to my problem. I haven't updated the "dummy" column
    The table structure is as follows:
    CREATE TABLE WAGN (
         WAGN               VARCHAR2(8) NOT NULL PRIMARY KEY,
         last_name          VARCHAR2(240),
         first_name          VARCHAR2(240),
         middle_name          VARCHAR2(240),
         date_of_birth     DATE,
         gender               VARCHAR2(1),
         status               VARCHAR2(1) NOT NULL,
         signature          RAW(64));
    The preference creation is:
    BEGIN
         ctx_ddl.create_preference('WAGN_NAME_SRCH', 'MULTI_COLUMN_DATASTORE');
         ctx_ddl.set_attribute('WAGN_NAME_SRCH', 'columns', 'last_name, first_name, middle_name, date_of_birth, gender');
    END;     
    The Index Creation statement is:
    CREATE INDEX wagn_srch_idx1 ON WAGN(signature) --Dummy Column
    INDEXTYPE IS ctxsys.CONTEXT
    PARAMETERS ('DATASTORE WAGN_NAME_SRCH SYNC(EVERY "SYSDATE+60/24/60" PARALLEL 10) TRANSACTIONAL');
    And a typical update statement is (contained with PL/SQL):
         UPDATE WAGN
              SET status = x_wagn_assigned_status,
                   last_name = p_employee_details.last_name,
                   first_name = p_employee_details.first_name,
                   middle_name = p_employee_details.middle_name,
                   date_of_birth = p_employee_details.date_of_birth,
                   gender = p_employee_details.gender
              WHERE WAGN = l_wagn;
    So my guess is that because the dummy column (signature) is not updated it is not being reflected in the transactional memory area.

Maybe you are looking for