'While running `mvn install` command, some mojibake characters disappear in the console
While I running the command mvn clean install and some mojibake characters disappear in my console, they just looks like the picture below:
I tried add the following codes to pom file but failed:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
<configuration>
<forkMode>once</forkMode>
<argLine>-Dfile.encoding=UTF-8</argLine>
</configuration>
</plugin>
</plugins>
</build>
I'm using code page 65001 (UTF-8) in my windows terminal and system language is Chinese, any idea to fix this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

