eclipse里面我爱慕课网显示的是乱码,要怎么解决?
package com.imooc;
public class HelloWorld{
public static void main(String[] args) {
String s1="我爱慕课网";
String s2="www.imooc.com";
System.out.println(s1+"\n"+s2);
}
}
输出如下:
�Ұ�Ľ����
www.imooc.com
package com.imooc;
public class HelloWorld{
public static void main(String[] args) {
String s1="我爱慕课网";
String s2="www.imooc.com";
System.out.println(s1+"\n"+s2);
}
}
输出如下:
�Ұ�Ľ����
www.imooc.com
2017-05-11
举报