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.
This bug was said as fixed in 5.0, but exists in 5.5. (Why?) My properties file is in default language and contains Chinese characters. But all Chinese is un-readable.
Created attachment 36159 [details] This is picture of IDE
This bug cannot be fully fixed until support for other encodings is added to the Properties module, which further depends on on issue #42638. These issues should be fixed by Milestone 8 of NetBeans 6.0. For the period before fixing these issues, I made a temporary change - when the user opens a file containing characters with Unicode 0x007f or higher, a warning message is displayed, informing about this deficiency.
Modified files: properties/src/org/netbeans/modules/properties/: Bundle.properties (1.72) PropertiesEditorSupport.java (1.85) Diffs: http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/Bundle.properties?r1=1.71&r2=1.72&diff_format=u http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/PropertiesEditorSupport.java?r1=1.84&r2=1.85&diff_format=u
This feature is functional in simple properties editor but it should be implemented in advance editor as well.
Implementation and use of the specific encoding for .properties files (issue #97861) resolved also this issue. Modified files: ide/golden/deps.txt (1.543) properties/manifest.mf (1.69) properties/nbproject/project.xml (1.12) properties/src/org/netbeans/modules/properties/: Bundle.properties (1.76) PropertiesDataLoader.java (1.29) PropertiesDataObject.java (1.55) PropertiesEditorSupport.java (1.88) PropertiesEncoding.java (1.1 - new) properties/test/unit/src/org/netbeans/modules/properties/: PropertiesEncodingTest.java (1.1 - new) Diffs: http://ide.netbeans.org/source/browse/ide/golden/deps.txt?r1=1.542&r2=1.543&diff_format=u http://properties.netbeans.org/source/browse/properties/manifest.mf?r1=1.68&r2=1.69&diff_format=u http://properties.netbeans.org/source/browse/properties/nbproject/project.xml?r1=1.11&r2=1.12&diff_format=u http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/Bundle.properties?r1=1.75&r2=1.76&diff_format=u http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/PropertiesDataLoader.java?r1=1.28&r2=1.29&diff_format=u http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/PropertiesDataObject.java?r1=1.54&r2=1.55&diff_format=u http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/PropertiesEditorSupport.java?r1=1.87&r2=1.88&diff_format=u http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/PropertiesEncoding.java?rev=1.1&content-type=text/vnd.viewcvs-markup http://properties.netbeans.org/source/browse/properties/test/unit/src/org/netbeans/modules/properties/PropertiesEncodingTest.java?rev=1.1&content-type=text/vnd.viewcvs-markup
perhaps not related to this, but now, when create a property file, can enter multibyte in the text version of the file or in the property editor, with the columns for key value and locale, and the multibyte looks ok. but in the property editor with the columns, when change a value or key, then go back to the text version, the multibyte is replaced with the escapped ascii like \u3068\u7CAE I think this is mentioned in some other issues but don't know what they are, and dont know if this is expected behavior. PS to submitter - if nb6, is the issue you filed about fixed ok ? ken.frank@sun.com
Ken, the issue you describe is tracked as issue #102699 ("Characters entered in the table view should not be translated to \uxxxx in the editor view").