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.
The output encoding used when invoking BaseBean.write(OutputStream) which in turn invokes GraphManager.write(OutputStream, String enc) with a null encoding. The null encoding uses the system default which in not normally UTF-8. This is the underlying cause of a P2 I18N bug filed against the EJB module. The suggested fix is to use the encoding which will be written in the <?xml version="1.0" encoding="UTF-8"?> as the parameter for the encoding.
The output encoding wasn't specified if the user didn't specify one. Now if the user didn't specify one, then UTF-8 is picked.
I've verificed the fixing in "FFJ, EE 4.0 EA (Build 020219)"
Consistent use of the I18N keyword.