Parameters _ought_ to be encoded in the page's encoding.
Are you using Netscape 4.x? I've been told that that version always returns
strings encoded in the OS's encoding (i.e., usually 8859/P1), and there's no
fix or work-around for that,...
-- Bill K.
> -----Original Message-----
> From: Pavel Sigarteu [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 12:11 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat encoding
>
>
>
>
> Hello,
>
> My name is Pavel Sigarteu, I work for Infopulse Romania.
>
> We want to create a site that supports local character set (
> ISO-8859-2 ). and we have a problem.
>
> We have tested with 2 pages and a database. The first
> page displays
> a form and the second page inserts the content of the form in
> the DB and
> displays the content available in the DB.
>
> If we set the encoding in the pages to ISO-8859-2 (<%@page
> contentType="text/html; charset=ISO-8859-2"%>) the pages will display
> correctly the characters from the DB. The problem appears
> wrhen reading
> the properties from the Request. It sims like the strings
> returned from
> request come encoded in ISO-8859-1 and to be able to display them
> correctly or to insert them in the DB we need to convert them to
> ISO-8859-2.
> Is this normal? Are we doing something wrong? (I hope so
> ... because
> it will be kinda ugly to convert every string from the request :(
>
>
> Plese tell me if there is a way to correctly specify the
> encoding to
> be used.
>
>
> Thank you,
> Pavel
>