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 - Struts Action with multibyte problem | ||
---|---|---|---|
Product: | javaee | Reporter: | Pavel Rehak <prehak> |
Component: | Struts | Assignee: | Petr Pisl <ppisl> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | kfrank, pjiricka |
Priority: | P2 | Keywords: | I18N |
Version: | 5.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screenshot |
Description
Pavel Rehak
2006-06-14 16:16:23 UTC
Created attachment 31056 [details]
screenshot
I will fix this. The problem is that the struts-config.xml file had ISO-8859-1 encoding by default. When schema2beans writes the tree to the configuration file, then it doesn't check the encoding. The fix is simple just generate the struts-config.xml file with UTF-8 encoding by default. For the schema2beans issue I entered different issue #79323. IDE:------------------------------------------------- IDE: [6/28/06 12:31 PM] Committing "resources" started Checking in struts-config.xml; /cvs/web/struts/src/org/netbeans/modules/web/struts/resources/struts-config.xml,v <-- struts-config.xml new revision: 1.2.4.2.2.1; previous revision: 1.2.4.2 done Checking in tiles-defs.xml; /cvs/web/struts/src/org/netbeans/modules/web/struts/resources/tiles-defs.xml,v <-- tiles-defs.xml new revision: 1.2.4.1.2.1; previous revision: 1.2.4.1 done Checking in validator-rules.xml; /cvs/web/struts/src/org/netbeans/modules/web/struts/resources/validator-rules.xml,v <-- validator-rules.xml new revision: 1.2.4.3.2.1; previous revision: 1.2.4.3 done Checking in validation.xml; /cvs/web/struts/src/org/netbeans/modules/web/struts/resources/validation.xml,v <-- validation.xml new revision: 1.2.4.1.2.1; previous revision: 1.2.4.1 done IDE: [6/28/06 12:31 PM] Committing "resources" finished Verified |