Details
-
Type: Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
JDK version and platform:Java version = J2RE 1.4.1 IBM J9 build 20030915 (JIT enabled), Java Compiler = j9jit21, Java VM name = IBM J9SE VM
Description
DomDriver reads this properly, but XPP breaks the scandinavian characters.
<?xml version="1.0" encoding="UTF-8" ?>
<list>
<aihe>
<name>Eläkeasiat</name>
</aihe>
</list>
This is not directly XStream's bug, but I wasn't sure where/how to report it. Might be worth mentioning the manual if it's not there.
Issue Links
- is superceded by
-
XSTR-261 Xstream.fromXML(InputStream) should discover the stream encoding, impossible to specify output encoding
This is the expected behaviour for Xpp3. You have to initialize the Writer with the appropriate encoding on your own if you don't want to use the default locale. Please ask questions on the user's list.