For example, use $JAVA_HOME/bin/native2ascii will get this string: "\u786e\u5b9a", but if use maven native2ascii to convert the same file, it will get "\u00e7\u00a1\u00ae\u00e5\u00ae\u0161" which isn't correct.
Dan Tran wrote: > > how different? > > On Sat, Jul 5, 2008 at 2:02 AM, youhaodeyi <[EMAIL PROTECTED]> wrote: >> >> I use native2ascii plugin to convert my resource files. This is my >> configuration in pom file: >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> >> <artifactId>native2ascii-maven-plugin</artifactId> >> <configuration> >> >> <src>src/test/java/ui/demo/i18n</src> >> <dest>classes/ui/demo/i18n</dest> >> </configuration> >> <executions> >> <execution> >> <goals> >> >> <goal>native2ascii</goal> >> </goals> >> <!-- specific >> configurations --> >> <configuration> >> >> <encoding>UTF8</encoding> >> </configuration> >> </execution> >> </executions> >> >> </plugin> >> One problem is that when I use mvn native2ascii:native2ascii to do the >> job, >> the result file is different with when I use $JAVA_HOME/bin/native2ascii >> command? why? >> >> The other issue is that how can I let this goat to replace the existed >> file? >> -- >> View this message in context: >> http://www.nabble.com/Two-questions-about-native2ascii-plugin-tp18290230p18290230.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Two-questions-about-native2ascii-plugin-tp18290230p18297921.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]