• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display unicode characters in another language in a standalone java program

 
shukla raghav
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to diplay characters of another language in the console screen using java. Please provide an actual code

 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Right click the java File (inside eclipse)-->Properties-->Text file encoding.
2. Change it to UTF-8
3. Open the file & Add :




4. Save, compile & run.

Cheers
 
pawan chopra
Ranch Hand
Posts: 417
jQuery Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refer this Java Tips. Hope it helps.
 
shukla raghav
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using netbeans...then what should i do
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic