Lägg till i pom.xml, antingen direkt i build eller i profile/build
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <encoding>ISO-8859-1</encoding> </configuration> </plugin>
Lägg till i pom.xml, antingen direkt i build eller i profile/build
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <encoding>ISO-8859-1</encoding> </configuration> </plugin>
RSS-flöde för kommentarer till det här inlägget. TrackBack URI
Tema: Silver is the New Black. Blogga med WordPress.com.
Nästan rätt. Du behöver lägga till samma sak för test encoding och sedan ska encodingen naturligtvis alltid vara UTF-8.
Kommentar av Johan — 2011-08-29 @ 7:13