#5 Problem Malformed UTF-8

open
nobody
5
2005-06-27
2005-06-27
Anonymous
No

Hi;
I have a JSP with a Tag Library that parse a channel
URL. This JSP in Windows XP with JDK 1.5.0 works fine,
but in Linux Fedora with JDK 1.5.0_03 fails with this
trace:

de.nava.informa.core.ParseException: ParseException:
Error on line 1 of document
http://clientes.imente.com/bin/ecode.cgi?pP3rn08SpYg51k1wvVdP81:
Character conversion error: "Malformed UTF-8 char -- is
an XML encoding declaration missing?" (line number may
be too low).
at
de.nava.informa.parsers.FeedParser.parse(FeedParser.java:118)
at
de.nava.informa.parsers.FeedParser.parse(FeedParser.java:68)
...

The URL is
http://clientes.imente.com/bin/ecode.cgi?pP3rn08SpYg51k1wvVdP81.

I prove encoding with:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-16"?>
but in all cases fails with same error.

what is it the problem? what is wrong?
It is very important resolve this problem because my
project starts in production in a few days.

Thank you very much!!!
Jose Roman Martin
jromanmartin@gmail.com

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks