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.
Summary: | I18N - Provide FileEncodingQueryImplementation in project's lookup | ||
---|---|---|---|
Product: | uml | Reporter: | Tomas Zezula <tzezula> |
Component: | Project | Assignee: | issues@uml <issues> |
Status: | NEW --- | ||
Severity: | blocker | CC: | gomi, kfrank |
Priority: | P2 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 97848 | ||
Attachments: | project zip |
Description
Tomas Zezula
2007-03-29 08:59:56 UTC
as part of writing spec on the overall topic of project encoding properties, I asked this question to dev and got the answer below: ### question - uml has reverse engineer java project and code generation in java projects - can there be a conflict if uml assumes the java project encoding is that of locale user is in, but actual project and file encoding of the project files is another encoding ? (since uml will not query for the feq ?) answer - If UML does not use FEQ when doing reverse engineering it will generate wrong diagrams, even worse may be synchronization with original code, it may corrupt the original java code. I realize uml was not going to implement this issue for nb6, but am wondering if it would want to at least for reading the project encoding of the java project, even if not provide the property ui on its project properties ? ken.frank@sun.com the uml does use FEQ query to determine the encoding of the file being REd or CGed. If the query returns nothing then the IO API methods used that don't require charset parameter, thus JVM default IO charset would be used in this case. Viktor, Thanks for confirming about it; I will update the spec/doc on the feq. ken.frank@sun.com Now that nb6 is done, can we see if this can be done for uml now ? uml is the only project type that does not provide a choice for project encoding. ken.frank@sun.com *** Issue 123756 has been marked as a duplicate of this issue. *** attached is a project from a user that has the encoding of some xml files, ie main_1199297895234.etld "<?xml version="1.0" encoding="MS932"?>" and others in utf-8 that might be related to this problem - this situation has been seen in actual issue 123756 which was closed as duplicate of this one - if 123756 seems to be separate or should be left open for itself, please reopen it, and attach the attached project to it. ken.frank@sun.com Created attachment 54614 [details]
project zip
will this task be done for 6.5 ? ken.frank@sun.com |