xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martynas Lelevicius" <ma...@nomagic.com>
Subject Encoding missmatch problem
Date Fri, 04 Oct 2002 14:30:07 GMT
Hi,

I try to create SVGOMDocument from the SVG file:

<...>
SAXSVGDocumentFactory df = new SAXSVGDocumentFactory(...);
SVGOMDocument doc = df.createDocument(uri, inputStreamReader);
<...>

If the encoding declared in SVG (xml) file does not match InputStreamReader
used encoding exception occurs:
java.io.IOException: Declared encoding "ISO-8859-1" does not match actual
one "UTF8"; this might not be an error.
        at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
        at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
<...>

How can I avoid this?

Thanks,
Marte



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message