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 - fixes related to 116767 and 100178 not all working | ||
---|---|---|---|
Product: | obsolete | Reporter: | Ken Frank <kfrank> |
Component: | visualweb | Assignee: | _ sandipchitale <sandipchitale> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | kaa, quynguyen |
Priority: | P2 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Ken Frank
2007-10-04 19:17:57 UTC
other comments perhaps related, perhaps not to this issue, see also
106473.
3. for regular jsp, and xml files there are warnings although the
> behavior is
> different for jsp/html vs xml unfortunately - see 106473 for discussion
> about this.
I am able to reproduce it. Investigating. The issue may be that said encoding is not recognized by Insync (MarkupUnit). see also 115278 and 117778 - both related to feq and encodings; dont know if related to this one. ken.frank@sun.com Sent insync jar with possible fix to Ken for testing. Sandip, can test it but need some answers to below first: 1. need specific user scenarios 2. does it matter if nb build used is like 1003 or does it need to be later ? 3. what about 115278, which was fixed today; does this one relate at all to that one; if so then we can wait til build with that one. Thanks - Ken ken.frank@sun.com Ken, Actually I was following the same user scenario as described in the bug i.e. change the encoding of the project and then the page and make sure it sticks around. I thought you may know other scenarios. That is why I sent the jar to you. In any case I will also talk to Quy what scenarios he was using. Using a build from 1008 may be better. I think the fix for 115278 is unrelated to this issue. But you may want to try with that fix also. I have updated my workspace and built a jar which I will send you. Sandip Use the encoding returned by FileEncodingQuery instead of manageing it in Insync. Checking in src/org/netbeans/modules/visualweb/insync/faces/FacesPageUnit.java; /cvs/visualweb/insync/src/org/netbeans/modules/visualweb/insync/faces/FacesPageUnit.java,v <-- FacesPageUnit.java new revision: 1.14; previous revision: 1.13 done Checking in src/org/netbeans/modules/visualweb/insync/markup/MarkupUnit.java; /cvs/visualweb/insync/src/org/netbeans/modules/visualweb/insync/markup/MarkupUnit.java,v <-- MarkupUnit.java new revision: 1.8; previous revision: 1.7 done the verification is only about the following: a. case 1 1. create visuaweb project and the Page1.jsp encoding values are the same as the project encoding 2. add a component to design area 3. go back to jsp file, the encoding values should be the same as project encoding 4. use a different encoding than utf-8 or encoding of the locale user is in to test this b. case 2 1. change the project encoding to something else 2. the encoding values in the jsp file should stay the same, even after adding more components. c. case 3 1. change the encoding values of the jsp file to something different than project encoding and not utf-8 2. the encoding values in the jsp file should stay the same, even after adding more components NOTE - the changed encoding value was a legal one, so did not run into the parts of 100178. ---> in a brief test, all of above cases passed, so am verifying this issue. ken.frank@sun.com re-verified, build 1123 |