Dear Franz, Thanks the hlep. a cup of Java, cheers! Sha Jiang
franz see wrote: > > Good day to you, Sha Jiang, > > Resource handling (copying and filtering) is by default handled by the > maven-resources-plugin. To change the default charset (what it is depends > on the JVM running your maven), you can specify the encoding in your > maven-resources-plugin configuration ( see [1] ) > > Cheers, > Franz > > [1] > http://maven.apache.org/plugins/maven-resources-plugin/examples/encoding.html > > jiangshachina wrote: >> >> Hi guys, >> Some resource files(e.g. My_zh.properties) is set against ISO-8859-1 >> charset, which isn't compatible with Chinese characters. >> I can change the charset with some tools(e.g. native2ascii), but how can >> I achieve the goal with Maven plugins(e.g. maven-war-plugin)? >> >> Additionally, when I archive project(using maven-jar-plugin or >> maven-war-plugin), >> at cmd console, one of output is the following, >> Using default encoding to copy filtered resources. >> What's default encoding? >> >> a cup of Java, cheers! >> Sha Jiang >> > > -- View this message in context: http://www.nabble.com/set-appropriate-charset-for-files--tf2627629s177.html#a7373492 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
