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.
reproducible with 061120, winXP steps: 1. create project 2. add package with russian name (for example 'пакет') and scoped diagram with russian name (for example 'диаграмма') 3. add class to the diagram 4. name class 'класс' 5. add attribute with name 'аттрибут' 6. add operation with name 'операция' 7. restart ide 8. all names are replaced with '??????'
Created attachment 36167 [details] ??? sample
Sergey, Can Russian characters be used and seen properly in other parts of nb - like explorer window for a java project with Russian in class names, proj names, etc ? Can Russian be typed into other parts of nb ? Can it be typed directly into the drawing area of the diagram elements and show ok ? Can it be pasted instead ? --> If can be pasted but not input directly, and thus the Russian shows ok then, then this is duplicate of other such bugs on uml. ken.frank@sun.com
In Java Project: 1) I can add package with Cyrillic symbols in project tree without any problems, restart do not corrupt name 2) I can work(type, save, reload) in java editor if set default encoding for java editor to 'utf8' 3) I can compile with appropriate encoding option 4) Properties window/properties is ok (may be with appropriate encoding setting) But: 1) If leave encoding setting empty, source is corrupted after creation (with a lot of '????' (but in project tree file is correct) 2) I saw problems in output window (not '???' but looks like symbols from upper part of latin character set) if there is any errors in compilation, I don't know if bug have already filed. In UML project: 1) I can work with russian characters until restart without problems in project tree and in digram area (type directly). 2) Even report is generated correctly 3) and I can paste(I tried to paste name in class and text in documentation) But: After restart all names are replaces with '?'
Created attachment 36200 [details] no problem with work in project tree/diagram/documentation
Created attachment 36201 [details] same project after restart, should it be P1?
Sergey, Thanks for the additional information. And its very helpful that you did the restart since that helps show that it can be the encoding handling when writing the data on exit is where the problem might be or that its on the reading of the data after restart. as to your comments about working in java editor,etc and non uml, I'd like to follow up separately, since if one is in a certain locale, one should not need to set the encoding of the editor or otherwise to be able to see properly the characters of that locale. What locale are you in when you start the ide ? And does it happen on solaris also ? Please send me separate mail so we don't put info on that into this issue, which is just about uml. ken.frank@sun.com
Just like issue 78633, we need to define our i18n requirement first and test against the valid spec accordingly. Unlike many popular communication tools (e.g Thunderbird, Instant Messenger), NB is meant to be used by a single user under one particular locale, it uses system encoding to read and write characters. So, if you want to save project name in particular encoding you need to run IDE under that locale, supporting multi-language input/output is not a current requirement. I tested on WinXP with Asian locales, UML project name (along with package, element name) in multibyte characters is saved and retrieved properly upon IDE restart. On a side note, UML module has no control over NB Project read/write encoding mechanism, it's a common behavior across IDE.
In an effort to clean up dashboard, I'm closing this bug as "invalid", please test i18n features with IDE running in that specific locale.
verifying even though its marked as invalid to get off dashboard. ken.frank@sun.com