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 - I18N - Output encoding doesn't match specified xml encoding
Summary: I18N - Output encoding doesn't match specified xml encoding
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Schema2Beans (show other bugs)
Version: -FFJ-
Hardware: All Solaris
: P2 blocker (vote)
Assignee: schema2beans-issues@ide
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2002-02-01 15:59 UTC by Chris Webster
Modified: 2002-12-23 16:36 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.