It was indeed the default charset. I've fixed it by explicitly setting the
charset in the InputStreamReader used by the "file fetcher".

BufferedReader in = new BufferedReader(new
InputStreamReader(url.openStream(),"ISO-8859-1"));

Again, apologies for going off topic, but I hope this might be of some help
to somebody else doing similar things.

-----Original Message-----
From: Fabrizio Tringali [mailto:[EMAIL PROTECTED] 
Sent: 03 February 2003 18:08
To: [EMAIL PROTECTED]
Subject: Re: Using FopServlet with ISO-8859-1


I've got the same problem on solaris 7/8 and it was not the browser but the
web server.
I solve it setting some locale on OS, something like:
LC_COLLATE=it_IT.ISO8859-1
LC_CTYPE=it_IT.ISO8859-1
LC_MESSAGES=it
LC_MOLC_COLLATE=it.ISO8859-15
LC_NUMERIC=it_IT.ISO8859-1
LC_TIME=it_IT.ISO8859-1

hi


----- Original Message -----
From: "Rob Staveley (Tom)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 6:34 PM
Subject: Using FopServlet with ISO-8859-1


> I've got an XML document encoded with ISO-8859-1 for which I have an
XSL-FO
> which also outputs ISO-8859-1. This works nicely using the command line
Fop.
> However, using the same XML and XSL with FopServlet I find that accented
> characters get clobbered in the retrieved PDF. It happens with Mozilla and
> IE. Any ideas?
>
> PS: I've tried using UTF-8 as the output encoding in the XSL and get the
> same problem.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to