-
Enhancement
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.2, OpenJDK6
-
b07
-
x86, sparc
-
linux, solaris_8, windows_nt
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152883 | OpenJDK6 | Sergey Malenkov | P2 | Resolved | Fixed | b02 |
Name: nt126004 Date: 01/17/2002
FULL PRODUCT VERSION :
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
A DESCRIPTION OF THE PROBLEM :
XMLEncoder defaults to UTF-8 encoding
this is a problem when :
- the "national" context uses accented character
- we use the xml files for setting up tests
and these files are modified/augmented
in a human-readable way (using a text processor)
(and are later read using XMLDecoder)
authorizing charset ISO-8859-1 will be a good
start ....
later when XML tools evolves may be we could go after other
charsets ....
This bug can be reproduced always.
(Review ID: 138149)
======================================================================
FULL PRODUCT VERSION :
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
A DESCRIPTION OF THE PROBLEM :
XMLEncoder defaults to UTF-8 encoding
this is a problem when :
- the "national" context uses accented character
- we use the xml files for setting up tests
and these files are modified/augmented
in a human-readable way (using a text processor)
(and are later read using XMLDecoder)
authorizing charset ISO-8859-1 will be a good
start ....
later when XML tools evolves may be we could go after other
charsets ....
This bug can be reproduced always.
(Review ID: 138149)
======================================================================
- backported by
-
JDK-2152883 RFE: LTP: java.beans.XMLEncoder should have an option to specify other charset than UTF-8
-
- Resolved
-
- duplicates
-
JDK-6629024 api/java_beans/XMLEncoder test fail with 6-open due to changes backported from 7
-
- Closed
-
- relates to
-
JDK-4740135 LTP: Severe performance bottleneck in XMLEncoder: String.getBytes(encoding)
-
- Closed
-
-
JDK-6256805 LTP: XMLEncoder emits invalid XML
-
- Resolved
-
-
JDK-6582164 JavaBeans tests should be open source
-
- Resolved
-
-
JDK-4864117 RFE: Make XMLDecoder API more reusable
-
- Closed
-
(1 relates to)