10x, but this doesn't solve my problem since I don't want to encode the
request, but the response (it doesn't work anyway, I've tried it).

-----Original Message-----
From: Ryszard Lach [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 6:29 PM
To: Tomcat Users List
Subject: Re: Response encoding problem


On Wed, Oct 16, 2002 at 06:06:02PM +0200, Ryszard Lach wrote:
> On Wed, Oct 16, 2002 at 05:41:58PM +0200, Dragomir Denev wrote:
> > Hi all,
> >
> > I have a simple servlet that retrieves a string from the database via
jdbc.
> > The database is sybase and its default encoding is utf-8. I run tomcat
> > with -Dfile.encoding=iso-8859-7 option. In the servlet I do a
> > System.out.println() for the string and on the console I get the correct
> > greek symbols. But when I send the string via the response object I get
> > trash in the browser. The servlet looks like this:
> >
>
> Did you try:
>
> -Djavax.servlet.request.encoding=ISO-8859-7
>
> ???
>
> BTW: I didn't know there is -Dfile.encoding switch recognized by Tomcat.
> I hope it will solve my problems with encoding during file or tcp socket
> print ;-))
>

Well, file.encoding does not change anything in my installation.

R.

--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.

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


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

Reply via email to