Today, after I installed the actiBPM plug-in in idea, I created a new bpmn file, and when I opened it again, it showed garbled characters. The solutions are given below for reference.
Method 1: Correctly set the file encoding
Click [File]–>[Settings]
Method 2: Modify the configuration file encoding format
Click [help]–>[Edit Custom VM Options]
and add below: -Dfile.encoding=UTF-8
# custom IntelliJ IDEA VM options
-Xms128m
-Xmx750m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-javaagent:D:\IntelliJ IDEA 2018.2.2\bin\JetbrainsIdesCrack-3.4-release-enc.jar
-Dfile.encoding=UTF-8