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.

Bug 20051

Summary: I18N - Output encoding doesn't match specified xml encoding
Product: ide Reporter: Chris Webster <cwebster>
Component: Schema2BeansAssignee: schema2beans-issues@ide <schema2beans-issues>
Status: VERIFIED FIXED    
Severity: blocker CC: asherman, keiichio, kfrank
Priority: P2 Keywords: I18N
Version: -FFJ-   
Hardware: All   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Chris Webster 2002-02-01 15:59:28 UTC
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.
Comment 1 _ cliffwd 2002-02-04 22:16:43 UTC
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.
Comment 2 hiroshiy 2002-02-20 08:13:31 UTC
I've verificed the fixing in "FFJ, EE 4.0 EA (Build 020219)"
Comment 3 Jesse Glick 2002-12-23 16:36:12 UTC
Consistent use of the I18N keyword.