Hi Carlos,

  Maybe the encoding in the xml prolog is missing or set to something other
than the document's true encoding?

<?xml version="1.0" encoding=" ????  " ... ?>



On Thu, Apr 29, 2010 at 10:00 AM, caarlos <[email protected]> wrote:

> Hi, i'm trying to rasterize a SVG file with "java -jar
> batik-rasterizer.jar FILE.svg", but i got these exceptions:
>
> Invalid byte 1 of 1-byte UTF-8 sequence.
>        at
> org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:136)
>        at
> org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
>        at
> org.apache.batik.apps.rasterizer.SVGConverter.transcode(SVGAbstractTranscoder.java:1001)
>        at
> org.apache.batik.apps.rasterizer.SVGConverter.execute(SVGAbstractTranscoder.java:717)
>        at org.apache.batik.apps.rasterizer.Main.execute(Main.java:938)
>        at org.apache.batik.apps.rasterizer.Main.main(Main.java:992)
> ... error (SVGConverter.error.while.rasterizing.file)
>
>
> Same when I'm trying to do this example:
> http://xmlgraphics.apache.org/batik/using/transcoder.html
>
>
> My OS is Windows XP SP2 PT-Br
> batik-1.7 for JRE 1.4+
> java 1.6.0_18 (i'm tried with old versions too...)
>
>
> Hope you help me.
> Thanks
>
> Ps: sorry about my bad english.
>
>
> Att,.
> Carlos Alexandro Becker
> Email: [email protected]
> MSN: [email protected]
> Skype: caarlos0
> Twitter: http://www.twitter.com/caarlos0
> Phone: +55 (45) 9967-0345
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to