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.
Concurrent.properties cannot display any multi-byte characters. Steps to Reproduce: 1. Create a test case. 2. Go to "Files" tab. 3. Select Concurrent.properties -> Add Locale. 4. Select ja_JP. 5. View Concurrent.properties for ja_JP. 6. Modify description by entering some multi-byte characters. --> See attached image mbyte_concurrent.jpg. 7. Save it. 8. View the same file again. 9. Note that the characters are garbled. --> See attached image mbyte_concurrent_garbled.jpg. Build used: 060929.
Created attachment 34778 [details] Entering some multi-byte characters
Created attachment 34779 [details] Multi-byte chars garbled in Concurrent.properties
Note from Jun: ========================================================== This "feature" comes from NetBeans platform and is definately not welcome here, at least we are not supporting it for now. We need to see if there is a way to turn this "feature" off. -----Original Message----- I noticed that there is a "Add Locale" feature for Concurrent.properties. I have a question regarding this feature. What is this for? Does this work just like the bundle files in Java? How does the system detect which Concurrent.properties file to use? ========================================================== This also happens for the default locale, so it still needs to be fixed. Changed the summary to be less specific.
This problem is actually in NetBeans IDE. Try the same steps on any property file (project.properties, for example), and you get the same behaviour. For the localized Concurrent.properties, I don't think it's very useful. But if you really want it to work like the bundle file in Java, please file a separate enhancement request.
I agree and I don't think localized Concurrent.properties are necessary. This unwanted "feature" should be taken out to avoid confusions. I will file a new bug to address that.
Issue 86623 is created to address the unwanted localize Concurrent.properties feature. http://www.netbeans.org/issues/show_bug.cgi?id=86623
*** Issue 88207 has been marked as a duplicate of this issue. ***
The problem is that the text editor for bundle files saves all files in encoding ISO-8859-1 and all characters that cannot be saved with this encoding (i.e. all non-Latin characters) are replaced with question marks when the file is saved. This can be split into several basic problems: 1) There is such a limitation. 2) The user is not informed about the limitation. 3) There is no mechanism that would warn the user about possible loss of data. The limitation should be mostly removed in the upcoming NetBeans 6.0 - see issue #75906. There are several sub-issues reported covering the about described problems - see issue #90863, issue #92514, issue #92515 *** This issue has been marked as a duplicate of 90863 ***