On Wed, 25 Aug 2010 22:59:54 -0700, David Sean Taylor wrote: > I reviewed the file and it looks fine in the distribution. Sometimes > when you edit files like these with an editor that doesn't support > unicode (this particular file has Chinese and Korean localization), the > encoding is broken by the editor
I went back and created everything via command line and did not edit any file. I also installed j2-admin to ~/.m2 from the distribution. My locale and encoding are: LANG=en_US.UTF-8 GDM_LANG=en_US.UTF-8 XTERM_LOCALE=en_US.UTF-8 Files were copied using UTF-8 according to messages from the maven build. I even tried adding -Dfile.encoding=UTF-8 in JAVA_OPTS of $CATALINA_HOME/bin/setenv.sh. I still get the same error. I realize it's not a show-stopper, but it is annoying (especially if I work on internationalization at some point). Projects are encoded UTF-8 by default in NetBeans 6.8. While I have the option to change the default encoding of the source files per project in NetBeans 6.8, the IDE does not seem to recognize any sources outside of [artifact-id]/src/main/java for maven projects. I'll see if there is a way to change that to include resources (ie., to include the webapp subdirectory). However, since my locale is UTF-8, I'm not sure what this will accomplish. As an aside, I could open up the files in Emacs and see the characters (since I have the fonts installed on this system). Any thoughts would be appreciated. Thanks much. . . . just my two cents. /mde/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
