File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 200
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: 200
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