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.

Bug 11127

Summary: I18N - Project name in Japanese causes unexpected result in PM
Product: projects Reporter: Yuko <kyuko>
Component: Generic InfrastructureAssignee: rmatous <rmatous>
Status: CLOSED FIXED    
Severity: blocker Keywords: I18N
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Yuko 2001-04-06 06:53:08 UTC
--Startup NB, now 'Default' project is set as current.

1.  Projects --> Project Manager and hit "New" button.
    Now "New Project" is current project
2.  Select "Rename" in Project Manager and rename it to a Japanese Project name.
3.  Select "Default" project and hit "Open" in Project Manager.   
    Now "Default" is current project.
4.  Projects --> Project Manager and there is NO projects in the project list.
   (There should be two).

I treid this prosess watching .nbattrs of ./<nb>/system/Projects.
After the operation #2, the Japanese Project name is correctly shown in this
file.
After the operation #3, all of the project names are disappeared from this file.

See bug #11076; this also comes from the mal-configuration of .nbattrs file.
Comment 1 rmatous 2001-04-06 17:13:15 UTC
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. 
Comment 2 Jan Chalupa 2001-05-06 14:26:39 UTC
Target milestone -> 3.2
Comment 3 Ken Frank 2001-06-21 20:58:33 UTC
verified 2000-06-21
ken.frank@sun.com
Comment 4 Jesse Glick 2002-12-23 16:37:40 UTC
Consistent use of the I18N keyword.
Comment 5 Quality Engineering 2003-07-01 14:19:16 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.