Results 1 to 2 of 2
  1. #1
    Basit781 is offline Member
    Join Date
    May 2010
    Posts
    47
    Rep Power
    0

    Default reading urdu, Arabic, Chinese, Japanese from url

    Hi,
    Hope you all will be fine.Does any one has an idea if i want to show urdu in my mobile after reading it from url, how can i do it. I have done this with this,
    Java Code:
            Reader r = new InputStreamReader(c.openInputStream(), "UTF-8");
             int ch;
             while ((ch = r.read()) != -1) {
                b.append((char) ch );
    But the problem is it is showing separate characters, do i need to convert utf-8 to urdu unicode, it's same as you want to show Arabic or Chinese or Japanese because these languages also include joining of their letters.Any idea

    Thanks

  2. #2
    Basit781 is offline Member
    Join Date
    May 2010
    Posts
    47
    Rep Power
    0

    Thumbs up

    Hi,
    The problem has solved. Actually what was happening i set the font. font.proportional and then was applying this font to my txtArea when i set the font SYSTEM, then my txtArea using system default font and urdu is installed in my mobile so everything going to work fine.
    Thanks :);)

Similar Threads

  1. how to display arabic language in java from mysql
    By pencariilmu in forum Advanced Java
    Replies: 0
    Last Post: 02-11-2010, 01:20 AM
  2. Replies: 0
    Last Post: 04-19-2009, 06:38 PM
  3. this looks chinese to me
    By xgi1008 in forum New To Java
    Replies: 18
    Last Post: 10-05-2008, 07:03 PM
  4. Arabic Problem In Sony Ericsson
    By medhat_fci in forum Advanced Java
    Replies: 2
    Last Post: 09-20-2008, 03:20 PM
  5. Arabic text in JApplet
    By Bedoor in forum Advanced Java
    Replies: 0
    Last Post: 01-15-2008, 12:52 PM

Posting Permissions

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