This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE Dev (Build 201312050002) Operating System = Windows 8 version 6.2 running on amd64 Java; VM; Vendor = 1.7.0_45 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08 NB defaults to UTF-8, and same is used on creating a JSF page with the NB wizard. But GlassFish 4 defaults to iso-8859-1. This leads to problems if a user enters characters which are coded with more than one byte, e.g. German umlauts.The solution is to add a sun-web.xml or glassfish-web.xml and to change the default encoding to UTF-8. I bloged about this problem (small project to enforce this problem) at http://blog.mueller-bruehl.de/web-development/glassfish-4-and-utf-8/ Now this is my proposal: Whilst creating a new web application with GlassFish 4 and the project's default encoding is UTF-8 (= NB standard), the NB wizard should create the GF configuration file and add the default-encoding of UTF-8.
Created attachment 142888 [details] IDE log