Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
433 views
in Technique[技术] by (71.8m points)

idea输入中文时会乱码,试了很多方法都不行?

idea在输入的过程中(编辑时System.out.println("……"))输入中文会直接乱码,网上各种方法全试过了,改application、Editor、两个文件什么的,但是依旧乱码,新建项目也乱码、重启也乱码……请求大神们帮助!
86261588169213_.pic.jpg


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Settings > Editor > File Encodings > Global Encodings & Project Encodings 设置为:UTF-8。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...