Displaying Tamil characters in Java:
Program:
[java]
package in.javadomain;
public class DisplayTamilCharactersInConsole {
public static void main(String[] args) {
String amma = "அம்மா ";
System.out.println("Amma in Tamil : " + amma);
}
}
[/java]
If you save the above program in eclipse it will ask like this,
Save it as UTF-8
Now Run the program to see the below output,
Output:
[plain]Amma in Tamil : அம்மா
[/plain]
Recommended Books: