注册 登录
编程论坛 PHP技术论坛

设置eclipse文件默认的编码方式使UTF-8的中文不乱码

ysf0181 发布于 2012-09-21 19:58, 888 次点击
设置eclipse文件默认的编码方式






在eclipse的安装目录下找到eclipse.ini文件,在最后一行加上-Dfile.encoding=UTF-8即可(如下所示),该方法可解决JBPM流程设计器乱码出现的问题



-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-Dfile.encoding=UTF-8





1 回复
1