1. 首页
  2. 编程语言
  3. Java
  4. myEclipse乱码解决办法

myEclipse乱码解决办法

上传者: 2020-08-08 18:01:41上传 TXT文件 2.93KB 热度 32次
在Myeclipse导入一个项目,有中文乱码问题,解决方法如下: 一、将整个project设置编码UTF-8(UTF-8可以最大的支持国际化) windows->Preferences->general->Workspace->Text file encoding->Other框中的Text file encoding改为UTF-8。 二、对java源文件编码设置为UTF-8. windows->Preferences->general->Context Types->Text,选择Java Source File,在下面的Default encoding输入框中输入UTF-8
用户评论