This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 410

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
 
Similar Threads
need to remove hyphen from textbox
how to match
How to use spring:message tag to display message in Persian language ?
java as a platform
Localisation in HTML