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.
We have webservices projects that uses utf-8 encoding in server and client side . After updating from netbeans 7.2.1 to netbeans 7.3 we got many errors related to utf-8 encoding in webservice generated class (client side). unmappable character for encoding UTF-8 * <p>Le fragment de sch?ma suivant indique le contenu attendu figurant dans cette classe. Switching to another encoding is not an option because it breaks the french characters we are using (é,è,à). The difference between netbeans 7.2 generated file and netbeans 7.3 ones is the use of utf-8 (for 7.2) and windows-1252 (for 7.3) Help>about: Product Version: NetBeans IDE 7.3 (Build 201302132200) Java: 1.6.0_38; Java HotSpot(TM) 64-Bit Server VM 20.13-b02 Runtime: Java(TM) SE Runtime Environment 1.6.0_38-b05 System: Windows 7 version 6.1 running on amd64; Cp1252; fr_FR (nb) User directory: C:\Users\Hamza\AppData\Roaming\NetBeans\7.3 Cache directory: C:\Users\Hamza\AppData\Local\NetBeans\Cache\7.3
Strange. A similar issue was already fixed in 7.3 http://netbeans.org/bugzilla/show_bug.cgi?id=216526
I see 216526 fix contain 1.54 + FileObject fo = classpath.findResource( 1.55 + "com/sun/tools/xjc/generator/bean/field/MessageBundle_it.properties"); //NOI18N 1.56 + if ( fo!= null){ and it seems to specific for Italian only problem. This one issue is for FR locale, may be it can be just added the same way, and may be a few more locales in advance, I'm nor sure how to get more generic fix yet and if the same fix will work in FR case yet.
isoman, so far I'm not able to reproduce the issue, start ide as fr_FR tried to create web project on gf 3.1.2.2 with itf-8 sources, generate web service create another web project generate web client deploy/build works fine code contain "<p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe." comments and is compilable.
(In reply to comment #2) > and it seems to specific for Italian only problem Sergey, the change checks for presence of MessageBundle_it.properties on classpath of libs.jaxws21.classpath library. But that does not mean it is specific to Italian locale. Just open nb73/ide/modules/ext/jaxb/jaxb-xjc.jar and you will see that it contains many different locales. I do not know why Denis chose this particular file for the check.
isoman, could you please provide steps how to reproduce the problem? What exact output the compiler provides in verbose mode? Could you attach a dummy test project reproducing the problem? Is there any relation to issue 216526? Thanks.
*** Bug 225053 has been marked as a duplicate of this bug. ***
I had the same issue with 7.2 and after changing to 7.3.1. Solved with a change in the 'netbeans.conf' file in the netbeans installation folder under '\etc' : Add « -J-Dfile.encoding=UTF-8"» to the line : «netbeans_default_options="[…]"» so you get «netbeans_default_options="[…] -J-Dfile.encoding=UTF-8"». Restart netbeans.