Tuesday, March 24, 2015

Print Unicode in Java

Example to print unicode on Java:

package javaunicode;

public class JavaUniCode {

    public static void main(String[] args) {
        String unicode = "\u01FC";
        System.out.println(unicode);
        System.out.println("Ǽ");
        System.out.println("\u03A9");
        System.out.println("Ω");
    }
}


No comments:

Post a Comment