Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » org.apache.xerces.impl.io.MalformedByteSequenceException(Invalid byte 2 of 2-byte UTF-8 sequence. )
icon5.gif  org.apache.xerces.impl.io.MalformedByteSequenceException [message #1488974] Thu, 27 November 2014 02:37 Go to next message
wei sanmao is currently offline wei sanmaoFriend
Messages: 3
Registered: November 2014
Junior Member
birt4.3 in IE9 with Chinese query param will run exception:

org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
Re: org.apache.xerces.impl.io.MalformedByteSequenceException [message #1489255 is a reply to message #1488974] Thu, 27 November 2014 08:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
I'm not sure how you can expect someone to respond to a post that's
doesn't even contain a question, doesn't explain what you did, doesn't
show a complete stack trace. In the end this is an XML parser exception
and it's caused by a file that claims to be UTF-8 encoded (according to
the XML header), but whose contents are not in fact a proper UTF-8
encoding. This could easily happen if you edit the file in a text
editor and save it with UTF-16 encoding, but don't modify the XML header
itself to specify that it's a UTF-16 encoding.

On 27/11/2014 4:09 AM, wei sanmao wrote:
> birt4.3 in IE9 with Chinese query param will run exception:
>
> org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte
> 2 of 2-byte UTF-8 sequence.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: org.apache.xerces.impl.io.MalformedByteSequenceException [message #1489269 is a reply to message #1489255] Thu, 27 November 2014 08:17 Go to previous messageGo to next message
wei sanmao is currently offline wei sanmaoFriend
Messages: 3
Registered: November 2014
Junior Member
1.my jsp page(all project is UTF-8) is UTF-8.
2.birt xml file define like this "<?xml version="1.0" encoding="UTF-8"?>".
3.when I input Chinese query param,just in IE it run exception,no stack trace.
exception msg:org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
4.other browsers like chrome,firefox can run without exception.
Re: org.apache.xerces.impl.io.MalformedByteSequenceException [message #1489278 is a reply to message #1489269] Thu, 27 November 2014 08:25 Go to previous message
wei sanmao is currently offline wei sanmaoFriend
Messages: 3
Registered: November 2014
Junior Member
File Attachments list:
1.png input Chinese query param
2.png run exception msg
3.birt file

[Updated on: Thu, 27 November 2014 08:28]

Report message to a moderator

Previous Topic:Problems upgrading runtime from 4.2.1a to 4.4.0
Next Topic:Error Message: "can't find IDedit"
Goto Forum:
  


Current Time: Wed Apr 24 17:11:39 GMT 2024

Powered by FUDForum. Page generated in 0.02761 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top