This article goes to: http://jsczxy2.iteye.com/blog/1236552
Modify the eclipse. ini file under the eclipse installation directory and add:-dfile. Encoding = UTF-8 in it. If I add it to:-showsplash
Org. Eclipse. Platform
-- Launcher. xxmaxpermsize
256 m
-Vmargs
-Dosgi. requiredjavaversion = 1.5
-Xms40m
-Xmx512m
-Dfile. Encoding = UTF-8 re-launch eclipse, re-create a process definition, open the GPD. xml file actually no problem. But the problem is that the console is garbled... I originally set the console to UTF-8... Solution: Right-click the desktop icon -- properties -- target: Add the following sentence here:-dfile. encoding = UTF-8 as my computer is: "C: \ Program Files \ eclipse \ eclipse.exe"-vmargs-xms128m-xmx256m-XX: permsize = 64 m-XX: maxpermsize = 256 m-dfile. encoding = UTF-8 restart again. Coming down is key, go to the windows-preferences-Myeclipse-servers-tomcat6-Launch-create launch configuration-common tab and find console encoding to change to UTF-8-then close, you will see an additional tomcat6 server, in the future, we will use this new tomcat6 server to release the project, so it will not be garbled.