Chinese garbled characters appear when using IDEA to create a bpmn suffix file

1. When using idea to create a bpmn suffix file, there is a problem of Chinese garbled characters.
When creating a file, Chinese garbled characters appear, as shown in the figure:
insert image description here
There are many methods on Baidu on the Internet, most of which need to modify the two files under the idea installation directory bin, as shown in the figure :
insert image description here
The modification method is to add the following statement at the end of the file

-Dfile.encoding=UTF-8

However, after modifying and restarting the idea, there are still garbled characters, and the problem has not been solved. Later, I tried to directly modify the internal vm file of the idea, and the problem was solved after restarting, as shown in the figure.
insert image description here
Just add the above code at the end of the file .

Guess you like

Origin blog.csdn.net/fzt12138/article/details/108443313