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.
NetBeans IDE Dev (Build 20070419-0559) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 Description: ============ \uuxxxx in bundle causes MissingResourceException, should be \uxxxx
usecase ... have internationalized form with label.text: "Degrees [°]" => in Resource bundle there is generated "jLabel1.text=Direction [\uu00B0]\:" and this causes exception in runtime
Confirmed.
Fixed in the trunk. The problem was that sequences typed by the user in the form of \uxxxx sequences were transformed to form \uuxxxx (one 'u' added) which is valid in Java source files but not in .properties files. Modified files: properties/src/org/netbeans/modules/properties/PropertiesEncoding.java (1.3) properties/test/unit/src/org/netbeans/modules/properties/PropertiesEncodingTest.java (1.3) Diffs: http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/PropertiesEncoding.java?r1=1.2&r2=1.3&diff_format=u http://properties.netbeans.org/source/browse/properties/test/unit/src/org/netbeans/modules/properties/PropertiesEncodingTest.java?r1=1.2&r2=1.3&diff_format=u
this issue is IMHO very close connected with bug 98512 so I will verify it together with it. nowadays: It's possible to use automatic i18n in form for special characters. It doesn't cause such runtime fails which Internationalize wizard does.
verified on Product Version: NetBeans IDE Dev (Build 20071012030351) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)