This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes how to display unicode characters in another language in a standalone java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to display unicode characters in another language in a standalone java program" Watch "how to display unicode characters in another language in a standalone java program" New topic
Author

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

shukla raghav
Ranch Hand

Joined: Aug 03, 2008
Posts: 201
how to diplay characters of another language in the console screen using java. Please provide an actual code

Aneesh Vijendran
Ranch Hand

Joined: Jun 29, 2008
Posts: 125
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


Cheers
Aneesh
pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 413

Please refer this Java Tips. Hope it helps.


Pawan Chopra
SCJP - DuMmIeS mInD
shukla raghav
Ranch Hand

Joined: Aug 03, 2008
Posts: 201
i am using netbeans...then what should i do
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to display unicode characters in another language in a standalone java program