Project File Encoding for the MyFaces Source
Hello, could we define a default file encoding for the MyFaces Project? I would suggest UTF-8. And add following property to the poms: project.build.sourceEncodingUTF-8/project.build.sourceEncoding See: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding Regards Bernd
Re: Project File Encoding for the MyFaces Source
good idea. except for properties files. they MUST be in ISO 8859-1 character encoding! (see http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html) therefore: please take care of the resource bundle files when you change encoding. --Manfred On Tue, Feb 10, 2009 at 19:47, Bernd Bohmann bernd.bohm...@atanion.com wrote: Hello, could we define a default file encoding for the MyFaces Project? I would suggest UTF-8. And add following property to the poms: project.build.sourceEncodingUTF-8/project.build.sourceEncoding See: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding Regards Bernd
Re: Project File Encoding for the MyFaces Source
On Tue, Feb 10, 2009 at 8:08 PM, Manfred Geiler manol...@apache.org wrote: good idea. +1 except for properties files. they MUST be in ISO 8859-1 character encoding! (see http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html) therefore: please take care of the resource bundle files when you change encoding. yep --Manfred On Tue, Feb 10, 2009 at 19:47, Bernd Bohmann bernd.bohm...@atanion.com wrote: Hello, could we define a default file encoding for the MyFaces Project? I would suggest UTF-8. And add following property to the poms: project.build.sourceEncodingUTF-8/project.build.sourceEncoding See: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding Regards Bernd -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: Project File Encoding for the MyFaces Source
+1 On Tue, Feb 10, 2009 at 2:19 PM, Matthias Wessendorf mat...@apache.orgwrote: On Tue, Feb 10, 2009 at 8:08 PM, Manfred Geiler manol...@apache.org wrote: good idea. +1 except for properties files. they MUST be in ISO 8859-1 character encoding! (see http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html) therefore: please take care of the resource bundle files when you change encoding. yep --Manfred On Tue, Feb 10, 2009 at 19:47, Bernd Bohmann bernd.bohm...@atanion.com wrote: Hello, could we define a default file encoding for the MyFaces Project? I would suggest UTF-8. And add following property to the poms: project.build.sourceEncodingUTF-8/project.build.sourceEncoding See: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding Regards Bernd -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf