Jump to content
We've recently updated our Privacy Statement, available here ×

UTF-8 Encoding Warning


Recommended Posts

By: Danny Liu - dsyliu

UTF-8 Encoding Warning

2003-06-02 12:42

Hi I am a newbie to the jasper reports and I tried to run jasper reports from my servlet application. I created a XML design using iReport and now I am trying to compile it in my application. Following is the code:

 

JasperReport jasperReport = JasperCompileManager.compileReport( report.getXmlSourceWithFullPath() );

 

but i kept getting JRException and the error message is "org.xml.sax.SAXParseException: Declared encoding "UTF-8" does not match actual one Cp1252; this might not be an error."

 

I am using the latest 0.4.6 version, so I should not need the patch for the UTF-8 bug for previous version. Please help, thank you very much.

 

 

 

 

By: Danny Liu - dsyliu

RE: UTF-8 Encoding Warning

2003-06-02 12:48

never mind, I am stupid..... I should apply the patch for 0.4.6. My brain is not working, sorry.

 

 

 

 

By: Leonardo Soto - leonardosoto

RE: UTF-8 Encoding Warning

2003-06-22 16:48

Where is that patch?. I'm having same problem here, with same version. (Yes, i have apache xerces and use it with a System.setProperty("org.xml.sax.driver","org.apache.xerces.parsers.SAXParser") )

 

 

 

 

By: Leonardo Soto - leonardosoto

RE: UTF-8 Encoding Warning

2003-06-22 17:40

OK, another self-answer. Patch is available in http://sourceforge.net/tracker/index.php?func=detail&aid=733882&group_id=36382&atid=416705

 

I must use search box before ask

I must use search box before ask

I must use search box before...

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...