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.
1. Prepare 2 text file in English file names and 2 text files in Japanese file names, eg; file1 file2 JAPANESE1 (in double byte characters in real life) JAPANESE2 (in double byte characters in real life) the files do not have extensions. Save them to a single directory. 2. From IDE, mount the directory and expand the directory name in Explorer. Then you will see the file list in above order. 3. Right click each file name and select "Convert to text" and reply OK to confirmation dialog, then you will see the icons for the files have been changed to represent "text" file. 4. If you try "Convert to text" for a Japanese name file, then you might see some unusual result intermittently. Result 1 - The file could not be converted and the icon remains in white. Result 2 - The file and other files with "text" icons also changed to white icons. Result 3 - Yes! The file is converted. But after restart IDE, you will see all files in the directory remain in white icon again. This problem occurs if the directory has files with non-asccii chracters (e.g. Japanese characters etc). This never occurs with English (asccii) name only directories. On both Win 2000 and Solaris.
Reassigned to openide. I think it has to do with FileObject's set/getAttribute (consequently .nbattrs) which are used for marking object as text. On the other hand it's reported for 3.0 ( I wrote Youko for more info, when get answer let you know.).
I did not set correct Version. This could be found on NB3.2 (build 22) and FFJ-dev (April 3 build). This was NOT happened with FFJ 2.0. I tried again watching .nbattrs file contents. 1. Convert file1 (English) --> .nbattrs contains file1 as fileobject 2. Convert file2 (English) --> .nbattrs contains file1 and file2 as fileobject 3. Convert JAPANESE1 (Japanese) --> .nbattrs contains file1, file2 and JAPANESE1 as fileobject. But ICON for JAPANESE1 is not changed to "text" icon. 4. Convert JAPANESE2 (Japanese) --> .nbattrs contains only JAPANESE2 as fileobject so, all ICONs are back in blank when they are refreshed. In the .nbattrs file, correct file name "JAPANESE1" can be shown. But somehow, at #4 of above operation, .nbattrs file becomes broken.
Fixed in trunk and release32. DefaultAttributes use method writeToXML that creates files .nbattrs. This method now uses PrintWriter that was set to use UTF-8 and files .nbattrs also contains information that there is used UTFF-8 encoding.
Target milestone -> 3.2
verified on 2000-06-21 ken.frank@sun.com
Consistent use of the I18N keyword.
Resolved for 3.4.x or earlier, no new info since then -> closing.