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.
To reproduce: - Create VCS Group which has Japanese name When I use Japanese name for VCS Group, that Japanese name is not displayed correctly. However, I can add Japanese Classes under that group. Please see attached file for image. However, I can add Japanese classes under that Japanese VCS group. I've also checked generated file under nbdev/system/vcs/Groups. The contents of gourp_X.properties is saved correctly with system default encoding.
Created attachment 3749 [details] Screenshot when reproducing
When I select "Add to VCS Group, the listed group names are not displayed correctly as same as VCS Groups window.
reassigning to vcscore
So you've checked that the name is correctly written but badly read, right? Here's the proposed change to the file reading code that should IMHO fix the problem: (adding the Locale.getDefault() params to the Bundle.getString() calls.) ResourceBundle bundle = new PropertyResourceBundle(propsFo.getInputStream()); groupName = bundle.getString(PROP_NAME, Locale.getDefault()); groupDescription = bundle.getString(PROP_SHORT_DESCRIPTION, Locale.getDefault()); groupDescription = org.openide.util.Utilities.replaceString(groupDescription, "\\n", "\n"); //NOI18N
Ops. forget the previous item, I confused getBundle and getString methods..
fixed in main trunk and release33 branch. (should appear in dev build on 11/Dec/2001) Please verify however, I haven't tried with japanese settings..
Could you please Keiichi verify whether the fix was successfull ? Thank you !
Thank you very much for your quick fixing! I've verified on Build 200112110331. The VCS Groups dialog has been fixed, but when I select the "Add to VCS Group" by right button clicking on Class Icon, the menu string is corrupted, and I can't add my class to Japanese group. Could you also fix it?
*nods* I'll fix that as well, I thought the file is read on one place only, but forgot about this second place, sorry.
should be done in main trunk and release33 branch. Appears in dev build on 12/Dec/2001.
Is it okay now Keiichi ?
Sorry for my late update. I've just verified and have confirmed all of these issues have been fixed. I've verified on 3.3.1 dev build (200112120331). Thank you!
Consistent use of the I18N keyword.
Resolved for 3.4.x or earlier, no new info since then -> closing.