public class Test {
public static void main(String[] args) {
System.out.println("新聞");
}
}
Above code is very simple,and it works fine.But if I remove a single word '聞', Intellij Idea warn me:
����: ����GBK�IJ���ӳ���ַ�
System.out.println("�?");
My Intellij edition information shows below:
IntelliJ IDEA 2020.1.1 (Community Edition)
Build #IC-201.7223.91, built on April 30, 2020
Runtime version: 11.0.6+8-b765.40 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1990M
Cores: 6
Non-Bundled Plugins: training
And I use Gradle 5.2.1 to build the project.