Results 1 to 2 of 2
  1. #1
    RamaNalayini is offline Member
    Join Date
    Nov 2010
    Posts
    1
    Rep Power
    0

    Default Need encoding for Korean

    Hi,

    I am using "wevtutil" command to display eventlog queries in windows7 Korean box, using java program which uses BufferedReader. when i run the code the korean characters are broken.

    Pls help me what encoding format should i use when reading the BufferedReader output


    Regards,
    Rama

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

    Default

    Quote Originally Posted by RamaNalayini View Post
    Hi,

    I am using "wevtutil" command to display eventlog queries in windows7 Korean box, using java program which uses BufferedReader. when i run the code the korean characters are broken.

    Pls help me what encoding format should i use when reading the BufferedReader output


    Regards,
    Rama
    You should probably set your character encoding to UTF-8 as in:

    Java Code:
    BufferedReader br= new BufferedReader(new InputStreamReader(is, "UTF-8"));
    Read the API documentation for those classes. Also set your font to one that supports the Korean character range.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. arabic encoding in url
    By echoe_echoe in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 10-06-2010, 08:10 AM
  2. problem in encoding
    By jaysh in forum NetBeans
    Replies: 0
    Last Post: 08-26-2010, 08:07 AM
  3. encoding issue in jsp
    By sams11 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-25-2008, 07:55 AM
  4. Some help with encoding...
    By nm123 in forum Networking
    Replies: 0
    Last Post: 04-15-2008, 12:22 AM
  5. Broken korean characters Urgent help needed!
    By priyap3 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 01-14-2008, 09:40 AM

Posting Permissions

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