Jump to content
Changes to the Jaspersoft community edition download ×

need help about UTF-8


Recommended Posts

By: mozart - mozart_sk8

need help about UTF-8

2003-10-09 02:45

Why is it everytime that I'm going to compile my report I always received an error message just like this:

 

File: C:IReportiReport-0.1.0binTransactionSlip.xml

 

Compiling to file... C:IReportiReport-0.1.0binTransactionSlip.jasper

 

Oct 9, 2003 5:43:29 PM org.apache.commons.digester.Digester warning

 

SEVERE: Parse Warning at line 1 column -1: Declared encoding "UTF-8" does not match actual one "Cp1252"; this might not be an error.

 

org.xml.sax.SAXParseException: Declared encoding "UTF-8" does not match actual one "Cp1252"; this might not be an error.

 

at org.apache.crimson.parser.Parser2.warning(Parser2.java:3148)

 

at org.apache.crimson.parser.Parser2.readEncoding(Parser2.java:2946)

 

at org.apache.crimson.parser.Parser2.maybeTextDecl(Parser2.java:2802)

 

at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2880)

 

at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)

 

at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)

 

at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)

 

at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

 

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

 

at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:373)

 

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:357)

 

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:337)

 

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:323)

 

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:121)

 

at IReportCompiler.main(IReportCompiler.java:119)

 

org.xml.sax.SAXParseException: Declared encoding "UTF-8" does not match actual one "Cp1252"; this might not be an error.

 

at org.apache.crimson.parser.Parser2.warning(Parser2.java:3148)

 

at org.apache.crimson.parser.Parser2.readEncoding(Parser2.java:2946)

 

at org.apache.crimson.parser.Parser2.maybeTextDecl(Parser2.java:2802)

 

at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2880)

 

at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)

 

at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)

 

at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)

 

at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

 

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

 

at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:373)

 

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:357)

 

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:337)

 

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:323)

 

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:121)

 

at IReportCompiler.main(IReportCompiler.java:119)

 

 

NESTED BY :

 

dori.jasper.engine.JRException: Declared encoding "UTF-8" does not match actual one "Cp1252"; this might not be an error.

 

at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:397)

 

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:357)

 

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:337)

 

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:323)

 

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:121)

 

at IReportCompiler.main(IReportCompiler.java:119)

 

Caused by: org.xml.sax.SAXParseException: Declared encoding "UTF-8" does not match actual one "Cp1252"; this might not be an error.

 

at org.apache.crimson.parser.Parser2.warning(Parser2.java:3148)

 

at org.apache.crimson.parser.Parser2.readEncoding(Parser2.java:2946)

 

at org.apache.crimson.parser.Parser2.maybeTextDecl(Parser2.java:2802)

 

at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2880)

 

at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)

 

at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)

 

at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)

 

at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

 

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

 

at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:373)

 

... 5 more

 

 

 

Abnormal termination!

 

 

 

 

What's wrong with my implementation? Am I missing something? I would really appreciate if you could help me

 

tnx

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