Browse Source

项目编码强制指定 UTF-8

xuxueli 6 years ago
parent
commit
bb7d16a830
1 changed files with 3 additions and 0 deletions
  1. 3 0
      pom.xml

+ 3 - 0
pom.xml View File

@@ -17,6 +17,9 @@
17 17
     </modules>
18 18
 
19 19
 	<properties>
20
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21
+		<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
22
+
20 23
 		<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
21 24
 		<javax.servlet.jsp-api.version>2.3.3</javax.servlet.jsp-api.version>
22 25