Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding unicode

 
Korada Rajshekar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you help me out with a sample code to get the Unicode characters form any type of input given in java also mention any help material that can be useful while developing this task..
 
fred rosenberger
lowercase baba
Bartender
Posts: 12148
31
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Korada Rajshekar wrote:Can you help me out with a sample code to get the Unicode characters form any type of input given in java also mention any help material that can be useful while developing this task..

We can HELP you, but nobody is going to PROVIDE it for you.

What do you mean by "any type of input"? does that mean any language (English, Korean, Ancient Greek) or do you mean keyboard vs. scanner vs. touch screen monitor?

Show us what you have so far...
 
Stephan van Hulst
Bartender
Pie
Posts: 5912
66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use an InputStreamReader, and specify the charset you want to use. For instance, you could use
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic