Problem with arabic in j2me!!!!

hi all,
i was developing a midlet that displays some arabic text , but it didn't neither on the real device nor the emulator, i got ???? instead, i finally found out that the problem isn't with the device nor the emulator but with the j2me itself coz when i tried printing this text by System.out.print() i got question marks too, though my OS supports arabic normally!!!
any suggestions???
thx,
noha

Frist your wtk emualtor if you set via directions will pick up non latin encodings via the OS system you are on..if you dont set wtk to pick up non latin encodings it will not pick them up..read the wtk emualtor docs for details..
Second, non latin encodings are not supported in MIDP 1.0 you have to encode using escape and cahracters and unicode..the exception is if the target device vendor has uspplied a closed api to use for non latin encodings..

Similar Messages

  • Problem with Arabic font: In certain contexts, when writing Arabic with vowel signs (fatha, damma, kasra, sukun) a sequence of sukun   fatha/damma etc. would reverse automatically. Is this a known bug?

    Problem with Arabic font: In certain contexts, when writing Arabic with vowel signs (fatha, damma, kasra, sukun) a sequence of sukun + fatha/damma etc. would reverse automatically. Is this a known bug?
    Example: عَيْنٌ
    would automatically convert to عَيُنْ
    Funnily, it doesn't seem to happen here, but it does when entering text in a web interface (using Firefox, font Bayan) and when using Text Edit.
    Seems to be a problem of a specific font, as e.g. Arial MS Unicode works fine. Any hints?
    Thank you!

    Musaafir wrote:
    I've no idea how i can even start using arabic vowels on Microsoft Word for Apple
    You can't do Arabic on MS Word for Mac.  This app has never supported RTL scripts, so you need to use something else.  Mellel is best, but Pages 5, TextEdit, Nisus Writer, Open/LibreOffice should work OK.
    You switch between languages by using the "flag" menu at the top right of the screen or by using the keyboard shortcuts apple/command plus space.  Go to system prefs/keyboard/shortcuts to make sure that is activated.
    To see which key does what, you use Keyboard  Viewer.
    http://support.apple.com/kb/PH13746
    You place vowels on letters by typing the key for the vowel after the key for the letter.  The vowels are on the option/alt keys, option/alt + a gives you َ

  • Problem with arabic in 5610xpressmusic

    hii
    i have a problem with arabic language .someone help pleaz how i can read arabic text in my nokia5610xpressmusic

    Take it to a nokia care point and ask them to install the arabic language pack for you.
    Care points/service centres and repair info:
    UK • Europe • Asia-Pacific • USA •
    Canada • Middle East and Africa
    Elsewhere: Click here, select your country, go to the support section, then select repair.

  • Problem with Arabic text in j2me

    Hello,
    I am trying to print arabic text form database ( RecordStore ) on j2me screen but arabic text comes in form of ????????? whether on emulator or real phone, though my OS supports arabic normally
    any suggestions, can anybody help me out
    Regards

    skizo wrote:
    J2ME is not for arabic !J2ME is not for arabic !
    Really !! thanks
    Any other suggestions ??

  • Problem with Arabic Character

    Hi all...
    I've a problem and if u please help me.
    My system configuration is :
    Windows 2000 Professional
    Sun JDK 1.3.1
    Oracle 8i
    iplanet web server 4.1
    iplanet app server 6.0 sp3 test drive
    this is my code:
    <%@ page contentType="text/html; charset=ISO-8859-6" language="java" import="java.sql.*, oracle.jdbc.driver.*"%>
    <%
    Driver driverUser = (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection connConnection = DriverManager.getConnection("jdbc:oracle:thin:@chorcl01:1521:gpa", "sak", "sak");
    String stmSQL = "SELECT company_name FROM transaction_header";
    PreparedStatement pstmStatementUser = connConnection.prepareStatement(stmSQL);
    ResultSet rsResultSet = pstmStatementUser.executeQuery();
    %>
    <html>
    <body>
    <%
    String vararabic = new String(rsResultSet.getString("company_name").getBytes(),"ISO-8859-6");
    %>
    <table>
    <tr>
    <td><%= vararabic %></td>
    </tr>
    </table>
    </body>
    </html>
    When I run this page, I just see some Question Marks (?) insteas of the correct characters(the field filled with Arabic characters).I test this page with utf-8 and wimdows-1256 but nothing happens.
    but still there are question marks.
    The Default encoding of installed JVM is Cp1252, I change it to utf-8 and windows-1256, nothing happens....
    I don't know what's my problem, please HELP...
    Thanks
    Mani

    Hi Mani,
    You are using test drive phase 3 which only allows ezsetup. You can view the Arabic characters by enabling ii8n. This option is avoilabe with custom installation. But in test drive custom installation is not enabled. So you can not view Arabic characters. You can do so with test drive on solaris.
    Thanks
    parsu

  • Image problem with my palm (J2ME Wireless Toolkit)

    Hi,
    I did a basic application. I just show an image and it works perfectly with the J2ME Wireless ToolKit.
    However, when I create the package, convert it and send it on my palm, everything is ok, except the image. It won't appair.
    I get an exception that the image couldn't be found, but when I use the emulator, everything is ok !!!
    The image is in the "res" directory, like it was asked in the manual.
    I tought that everything is encoded (text file or image file) when you create the package. If it's working with the emulator, why is it not working on my palm?

    I had a same problem with my nokia 3650 in J2me the image appears but not on the phone, I think that that is a bug and fixed it this way:
    when you make a jar package, unpack package with winRAR or some archive program in some temp directory and in that directory make a res directory an put the image in it, then repack theese files again including the res directory in a new jar file. It works for me. It looks that J2ME in compiling doesn't change the path, to root but leaves the res directory.

  • Problem with arabic fonts

    hi , i just downloaded photoshop and i made it middle east for the arabic & i installed a library of arabic fonts , the problem is ps writting any arabic  text with those fonts wrong  and it`s very heavy while writing  but he is writing normal the arabic text with mac fonts , can this issue fixed or can i rest my fonts ?
    hint --> as i`m new in mac i put the arabic fonts in many folders :
    (library -- fonts)
    (fontbook -- all fonts)
    (fontbook --- user)

    You normally have to use Mac fonts when writing Arabic.
    For problems with stuff made by Adobe, best search/ask in the forums run by them:
    http://forums.adobe.com/index.jspa

  • Problem with Arabic text firefox 8.0.1

    http://imageshack.us/photo/my-images/706/firefont1.png/
    http://img706.imageshack.us/img706/2871/firefont1.png
    http://imageshack.us/photo/my-images/192/20000t.png/
    the problem with fire fox only in IE its right and on fire fox 3.6 is right !
    =============
    Please note that<br />
    I tried some solutions like this https://support.mozilla.com/en-US/questions/871124?s=arabic&r=0&as=s <br />
    and this<br />
    https://support.mozilla.com/en-US/questions/808963#answer-169530
    and i did not find the name he mentioned but find that
    gfx.font_rendering.harfbuzz.scripts
    thanks in advance

    having same problem here, over and over getting popups saying Windows Installer is, "Preparing to install," then, "Please wait while windows configures Itunes," then finally, "You must restart your system for the configuration changes made to itunes to take effect," etc. Do I have too many of the previous versions hanging around? Thanks!!!!

  • Problems with arabic

    I noticed 2 problems using TFL with arabic text:
    1- While writing arabic text and pressing the direction keys
    to move the cursor - it moves in the opposite direction.
    2- The double quotation mark : " appears as single quotation
    mark: ' when press (send to stage) button.
    Any advice?

    Thank you robin for your reply
    quote:
    Originally posted by:
    robin.briggs
    Cursor movement is in the direction of reading order, not
    visual order. So the right arrow goes forward in the reading order,
    which will move to the left in right to left text.
    No sir, that is wrong, in arabic or in any language right
    arrow means move to right - left arrow means move to left (not
    forward and backward) !
    I am arab, an have used a lot of arabic editors/word
    processors (Notepad, MS Word,..etc) - Adobe should fix this.

  • AJAX AutoComplete problem with arabic

    I'm using Ajax AutoComplete component in my project by creating the String array (String[]) from a table created in database
    The Ajax AutoComplete component work fine with English data but when working with Arabic data it gives me an empty list...!!!!
    does any one know why this is happening with Arabic data?
    this is my code for creating the string array:
    public String[] getNames() {
            RowKey rowKeys[] = namesDP.getAllRows();
            names =  new String[rowKeys.length];
            for (int i = 0; i < rowKeys.length; i++) {
                namesDP.setCursorRow(rowKeys);
    names[i] = namesDP.getValue("NAME").toString();
    return this.names;
    }NAME is the field that holds the English data and for Arabic i just change it to NAME1 which holds the Arabic data                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi There,
    Creator will be EOLed soon, Netbeans is the latest version of Creator. Pls post your question on NB mailing lists at http://www.netbeans.org/community/lists/top.html for better response.
    Thanks
    K

  • Problem with Arabic character in Servlet !!!! please help

    hi all ,
    this is my servlet code
    ====================================
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class P extends HttpServlet
         public void doGet ( HttpServletRequest rq , HttpServletResponse rs)
         throws ServletException, IOException
              PrintWriter pw = rs.getWriter();
              pw.write("<Html> <Head> <Title> Hello </Title> </Head>"+
              " <Body> Arabic text </Body> </Html>");
    but when i try to see it in the browser ( if i replace "Arabic text" with arabic word) i just see ??????
    instead of the arabic characters !
    can y help please ...
    Ibrahim >>

    Hi,
    May this forum will help or try poting at the website below.
    http://forums.java.sun.com/forum.jsp?forum=16
    Website:
    http://www.thesoftwareobjects.com

  • Problem with Arabic scripts in Adobe writer

    Hi all ..
    the company I work in bought the adobe writer professional version 8 for the policies& procedures which all in arabic !!!!
    now we face a problem when convertingfrom pdf to wrod .. the script change to everything but arabic
    in additon .. editing arabic is a delima ! sometimes it writes over an existing words !! and with tables ..its a disaster . it can't keep writing inside the cell
    ( this happens all when the pdf is converted from a word document ) .
    final question is regarding security ?! .. can I impose a security on all the PDF on one server .. without having to do it for one pdf by another
    e
    please its soo critical to solve those issues since its for buisness requirment ..
    Thank u in advanc

    As I said its the acrobat professional is what I have ...
    and I nedd to have one copy of the prosedure not two in word and pdf !!!  ..
    and what about converting from pdf to word !! why it doesn't convert right ! and what is the solution !!
    Thnx for replying

  • Problem with Arabic in awt

    Hi all,
    First off, I am forced to use JDK 1.18.
    I am having problem in displaying arabic, both through AWT as well as at the console. My desktop (Windows XP) supports arabic.
    The following does not do much. It was just supposed to show how it works. It displays rubbish at both the console, as well as in the frame title/button label. Even when I changed the button label to a unicode character, it came out as an empty square. It works fine with an english locale.
    public class Driver {
    public static void main (String args []) {
    java.util.Locale newLocale = java.util.Locale("ar", "AE");
    java.util.ResourceBundle menus = ResourceBundle.getBundle(PROP_FILE_PREFIX, newLocale);
    System.out.println(menus.getString("MainMenu"));
    java.awt.Frame frame = new java.awt.Frame(menus.getString ("MainMenu"));
    frame.setLocale(newLocale);
    frame.setSize(200, 300);
    java.awt.Button button1 = new java.awt.Button();
    button1.setFont(new java.awt.Font("Arabic Transparent",0,12));
    button1.setLabel(menus.getString("MainMenu"));
    //button1.setLabel("\u0627");
    frame.add(button1);
    frame.show();
    The contents of the property file I was trying to read is:
    MainMenu = ������� ��������
    Channels = �������
    SmartCardInformation = ������� �� ������� ������
    ParentsControl = ����� �����
    Languages = ������
    Setup = ����� ��������

    The first thing you need to do is to run native2ascii on your properties file (it comes with the JDK).

  • I have a problem with arabic text in facbook im using firfox v5

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/856583]]</blockquote>
    I'm using Firefox web browser v5 and i can wright and reed Arabic text at all web sights. but when I'm trying to read or right Arabic text in Facebook i have a probable that every letter is separated and when i open Facebook with other browsers like chrome using same desktop the Arabic text appear without any problems.

    I am doing a newsletter which I have an arabic translation of in a word document. When I copy and paste into Illustrator it changes the font (it says times new roman in the word doc, but the illustrator version comes out times new roman but looks completely different ) and the right to left orientation to left to right. How do I fix this?
    Make sure your document language is properly set to Arabic in Word. Just typing Arabic and the document actuall being Arabic are two different things. Mismatches affect Unicode ranges, resulting in the wrong characters being copied to the clipboard. In AI, check the substitution options on the text palette and glyph palette as well as your global glyph protection pref.
    Mylenium

  • Problem with Arabic text with flash player 10 32bit under linux platforms

    Arabic encoding characters do not show correct in the right form at all linux distributions .
    note: with windows platforms, it shows arabic characters correctly.
    this video contains captions and subtitles, in the attachement two snapshots,
    First, show the arabic sentences in the right form with "swfdec mozilla" plugins.
    The other, show the arabic words with "adobe flash player 32bit" plugins,
    for example: Arabic font enconding cp-1256
    the character ب
      in the beginning of the word " بـ ".
    in the middle " ـبـ "
    at the end "ـب"
    isolated character "not in word "ب"
    the word
      كتب in the right form
    begin from right with " كـ "
    with adobe flash player
    ب ت ك
    it shows from left to right and use only isolated characters.
    I report to adobe and they response
    Hi Ghost,
    Since you do not have a 64 bit machine please proceed to reinstall the
    32 bit edition.
    For the current release version of Flash player 10, it does support
    Right to left, But you can’t use a text field on stage and have it
    work. When authoring the content in Flash cs4, you would have to use
    the Flash text engine. more information on that can be found here:
    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS6C0BB8ED-2
    Thank you.
    Regards,
    Thomas S.
    Technical Support Engineer
    Adobe Systems, Inc.
    Get the answers you need, when you need them!
    Knowledge Base: <(><<)>http://www.adobe.com/support>
    Support Plans: <(><<)>http://www.adobe.com/support/programs

    I too am having this problem. On all of my linux distributions, including Ubuntu 8.04, 8.10, knoppix 5,1, fedora 8,9,10 flashplayer 10 is broken in the same way.  It reports that it cannot find webcam, and the settings dialog refuses to recognize mouse clicks.  I've poked around the web quite a bit and have not yet found a solution.  I saw the problem mentioned on an adobe bug reporting site and their response was to close the issue saying it wasn't repeatable on their system.  I tried to re-open it and my post was deleted without comment (I may have posted incorrectly or something)
    Looking here  and elsewhere I see that the problem is very common and I don't see any posted bug-fixes, or even acknowledgement that a bug exists.  Has adobe lost interest in being cross-platform compatible?

Maybe you are looking for

  • HR Selection Screen

    Dear all- I am assigned a task of HR report. I am new to HR reporting. The design has selection-screen with the following: •     Personnel Number •     Employment Status •     Personnel Area •     Personnel Subarea •     Employee Group •     Employee

  • Default compose/reply Text or HTML

    We are running into the same problem that has plagued other installations in regards to Outlook and Messenger Express. This has been our experience with the problem: There is a problem we have seen where a person using Microsoft Outlook (not Outlook

  • Book delivery times in the UK

    Anyone got experience of book delivery times in the UK? Does it vary by number of images/pages?

  • Why do you need a credit card when no money due

    I recently was trying to add an older 3G IPad to my Verizon account.  Went through all the steps online and then went to check out.  We currently have 4 phones and 1 other IPad on this account.  Anyway everything is fine until I go to check out.  The

  • IM in 5800 Xpress music

    how to use the IM application in nokia 5800 Xpress Music? how to set the access point in use?