diff --git a/core/pom.xml b/core/pom.xml
index 3857c7a5..7caf8911 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -118,7 +118,10 @@
maven-surefire-plugin
2.22.2
- ${jacoco.agent.argLine}
+ ${project.build.sourceEncoding}
+ ${project.build.sourceEncoding}
+ ${project.build.sourceEncoding}
+ ${jacoco.agent.argLine} -Dfile.encoding=${project.build.sourceEncoding} -Dline.separator=$'\n'
diff --git a/pom.xml b/pom.xml
index 7b8d16a2..68340bef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,7 @@
UTF-8
+ UTF-8
1.7.30
4.13.1
1.2.3
diff --git a/toolkit/pom.xml b/toolkit/pom.xml
index 591b3379..6ed3472a 100644
--- a/toolkit/pom.xml
+++ b/toolkit/pom.xml
@@ -113,7 +113,10 @@
maven-surefire-plugin
2.22.2
- ${jacoco.agent.argLine}
+ ${project.build.sourceEncoding}
+ ${project.build.sourceEncoding}
+ ${project.build.sourceEncoding}
+ ${jacoco.agent.argLine} -Dfile.encoding=${project.build.sourceEncoding} -Dline.separator=$'\n'