Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2011
    Posts
    52
    Rep Power
    0

    Default How to Create Java Locale for Chinese and Korean Language

    Hi All,
    I Need to Read Chinese and Korean Language Using my Code,
    to Read From data and Write to these Languages can any one suggest me How to Do this?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,529
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by deshmukh.niraj04 View Post
    Hi All,
    I Need to Read Chinese and Korean Language Using my Code,
    to Read From data and Write to these Languages can any one suggest me How to Do this?
    CHINA/CHINESE and KOREA/KOREAN are two different locales; you can make one of them the default with the static Locale.setDefault( ... ) method call. Also set a font that can display the Chinese or Korean glyphs.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    Join Date
    Mar 2011
    Posts
    52
    Rep Power
    0

    Default

    Thanks Mr.JosAH,
    How can i read the Chinese data from file and print it...

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,529
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by deshmukh.niraj04 View Post
    Thanks Mr.JosAH,
    How can i read the Chinese data from file and print it...
    That all depends on the encoding of the data (you have to use the same decoding, read the API documentation for the InputStreamReader class, it can have its decoding method set) and it depends on the font you use: not all fonts can display those Chinese and/or Korean glyphs.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. how to change whole project in another language base on locale?
    By krunalpatel1410 in forum AWT / Swing
    Replies: 3
    Last Post: 09-20-2010, 08:24 AM
  2. Replies: 1
    Last Post: 11-17-2009, 10:10 AM
  3. Java in Chinese
    By ehochedez in forum NetBeans
    Replies: 0
    Last Post: 09-20-2009, 02:59 PM
  4. Replies: 1
    Last Post: 08-21-2009, 08:07 PM
  5. Replies: 0
    Last Post: 04-19-2009, 06:38 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
  •