×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    9

    how to render hindi characters in j2me

    Is there any way to render hindi characters on canvas in j2me using there unicode values .

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: how to render hindi characters in j2me

    You can render Hindi Characters if your device's firmware supports Hindi.

    I had a previous similar discussion, have a look at this thread http://discussion.forum.nokia.com/fo...ighlight=hindi

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    3

    Re: how to render hindi characters in j2me

    can u please give us a clue about rendring of URDU test in J2ME??and how to display list on a key stokr from numeric key pad??for e.g. we want to display a list showing 3-4 urdu alphabets for a single key press in j2ME?reply soon please it's urgent!

  4. #4
    Registered User
    Join Date
    Apr 2013
    Posts
    2

    Re: how to render hindi characters in j2me

    In Nokia Asha 305 and 311, I am able to render hindi character on screen. Like, I am able to render it in textfield and in label but while I submit this data I am getting ???? in backend. Can anyone give me hint on any solution for this issue?

  5. #5
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,561

    Re: how to render hindi characters in j2me

    Quote Originally Posted by mayankmodi View Post
    In Nokia Asha 305 and 311, I am able to render hindi character on screen. Like, I am able to render it in textfield and in label but while I submit this data I am getting ???? in backend. Can anyone give me hint on any solution for this issue?
    Post the code you use to send the text to the backend, and also the code the backend uses to process the data. Somewhere someone along the way does something to the data that it shouldn't, but without seeing all the relevant code, it is impossible to say where the error is.

  6. #6
    Registered User
    Join Date
    Apr 2013
    Posts
    2

    Re: how to render hindi characters in j2me

    Here is some of the code snippet.. Also one thing I forgot to mentioned earlier is I am using LWUIT framework.
    My simple textfield on the form is:
    TextField userNameText = new TextField();
    Label userNameLabel = new Label(UtilBean.getMyLabel("Username")); //getMyLabel method will fetch appropriate Hindi conversion of Username from RMS
    loginContainer.addComponent(userNameLabel);
    loginContainer.addComponent(userNameText);

    I am able to type in Hindi in this text field and also able to render Hindi value in userName label. So no issue with the rendering. But when I click on Login button at backend side I am getting value entered in this textfield in a format of ???????. I am retriving textbox value using userNameText.getText(). After that I am passing this value to web service for server side authentication.

    Few More Inputs:
    This entire flow working fine with the English language. Also, I have submitted hindi data to web service using SOAP UI. It works well.

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: how to render hindi characters in j2me

    This is certainly not the code which is sending text over the network. Anyway, remember that XML (and thus SOAP) uses 8-bit character encoding, usually UTF-8. Are you using getBytes("UTF-8") or something similar? Also make sure that the encoding is reverted on the server side.

  8. #8
    Registered User
    Join Date
    Jul 2012
    Location
    Bangalore,India
    Posts
    26

    How to display the data in different language(Hindi)

    Hi All,

    I am developing an application in j2me for s40 series. I want to change my application font to hindi . Is it possible in j2me? If possible please give me the steps for doing this.

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to display the data in different language(Hindi)

    Check the thread suggested in #2, it seems to be a rather deep one with lots of suggested readings.

  10. #10
    Registered User
    Join Date
    Jul 2012
    Location
    Bangalore,India
    Posts
    26

    Re: How to display the data in different language(Hindi)

    hi wizard_hu_ this link not opening in my broser http://discussion.forum.nokia.com/fo...ighlight=hindi .

  11. #11
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to display the data in different language(Hindi)

    If you want to copy the link, do not select the text with ..., but use right-click and "Copy link address" or similar thing. Visual part of the links are shortened automatically, if I put the link here it will again contain a ... part: http://discussion.forum.nokia.com/fo...ad.php?t=72565
    Most desktop browsers open links on a new tab when you use the middle button, or Ctrl+right click. In case of mobile browsers the trick is usually tapping on the link for a long time, then a menu may appear where you can open the link in a new tab/window.

Similar Threads

  1. J2ME MIDP2.0 Emulator supporting unicode Chinese characters
    By putoare in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 10
    Last Post: 2009-06-07, 07:52
  2. New in Symbian (sockets and 1024 characters)
    By arachidyl in forum Symbian
    Replies: 3
    Last Post: 2006-04-03, 18:28
  3. J2ME Polish Version 1.0 RC6
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-07-20, 11:25
  4. SMS FAQ List
    By paulbrow in forum General Messaging
    Replies: 2
    Last Post: 2004-03-04, 06:09
  5. J2ME - Chinese Characters
    By suzanneanxa in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 5
    Last Post: 2004-02-04, 09:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×