Solve Chinese garbled characters in the jbpm workflow GPD. XML in eclipse (including console garbled)

Source: Internet
Author: User
Tags jbpm

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.