Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

print korean charater file using java

 
prriya pratheep
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends

I want to print korean charaters in a text file.Please help


or any link haveing example related to this

thanks
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In first glance, you need keyboard mapping in your program , which handle key pressed event and print the appropriate Korean character for that key .

this Unicode site provide information about Korean char set !
 
prriya pratheep
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need not type the character from keyboard.input comes from the file.so i have read the file and print it.

regards
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you mean to say ,
you are reading Korean characters file and convert it, probably in English characters ..
 
prriya pratheep
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not converting just printing....
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, got it ! you want to print the Korean characters from a file ..

for this , see SUN tutorial ..

Hope this Help ..
 
prriya pratheep
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you guys for the replays

I got

here is the code


FileInputStream fis = new FileInputStream(file);
InputStreamReader isr = new InputStreamReader(fis, "UTF8");

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic