I ran mine against the native2ascii executable, and both produce the same output with "UTF8" as the input encoding.
-D On Sun, Jul 6, 2008 at 5:38 AM, youhaodeyi <[EMAIL PROTECTED]> wrote: > > No, you need encoding it as utf8 which means "u786e\u5b9a" is the correct > one. > > Dan Tran wrote: >> >> "\u00e7\u00a1\u00ae\u00e5\u00ae\u0161" is the correct format as far as >> i know, and it works on my production build >> >> -D >> >> On Sat, Jul 5, 2008 at 6:38 PM, youhaodeyi <[EMAIL PROTECTED]> wrote: >>> >>> I use "$JAVA_HOME/bin/native2ascii -encoding UTF8" command to convert the >>> file. But maven native2ascii convert the file have the same result with >>> the >>> command "$JAVA_HOME/bin/navite2ascii" without the encoding specification. >>> So >>> the problem is that maven will ignore the encoding tag, won't it? >>> >>> 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-tp18290230p18298111.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-tp18290230p18301721.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]
