执行Unicode10Example.java, 结果是乱码,老师的结果是图形,怎么处理
/** * Unicode 10 */ public class Unicode10Example { public static void main(String[] args) { System.out.println("\uD83E\uDDDA"); System.out.println("\uD83E\uDD92"); System.out.println("\uD83E\uDD95"); System.out.println("\uD83E\uDDD9"); System.out.println("\uD83E\uDDDB"); System.out.println("\uD83E\uDD2E"); } }
执行结果:
?
?
?
?
?
?
Process finished with exit code 0