jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • XStream
  • XSTR-361

XPP doesn't read UTF-8 encoded XML properly

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed 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

Bug - A problem which impairs or prevents the functions of the product. XSTR-261 Xstream.fromXML(InputStream) should discover the stream encoding, impossible to specify output encoding

  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • History
  • Activity
Hide
Permalink
Joerg Schaible added a comment - 27/Oct/06 2: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.

Show
Joerg Schaible added a comment - 27/Oct/06 2: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.

People

  • Assignee:
    Unassigned
    Reporter:
    Mikko Apo
Vote (0)
Watch (0)

Dates

  • Created:
    27/Oct/06 12:16 PM
    Updated:
    09/Nov/06 4:56 PM
    Resolved:
    27/Oct/06 2:46 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.