History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XSTR-361
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Assignee: Unassigned
Reporter: Mikko Apo
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XStream

XPP doesn't read UTF-8 encoded XML properly

Created: 27/Oct/06 12:16 PM   Updated: 09/Nov/06 04:56 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Issue Links:
Supercedes
 

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  « Hide
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.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Joerg Schaible - 27/Oct/06 02:46 PM
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.