if project compiled utf-8
encoding this:
<plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-compiler-plugin</artifactid> <configuration> <encoding>utf-8</encoding> </configuration> </plugin>
and have dependency compiled cp1252
encoding, kind of problems arise? consider besides .java files, there resource files.
there shouldn't problems, that's encoding used when transforming .java
files .class
files - once classes compiled strings unicode internally anyway.
and encoding configure compiler relates .java
source files - other resources .properties
or .xml
files packed jar in different character encodings, important thing code loads them must use correct encoding each file @ runtime.
Comments
Post a Comment