tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shanta B <B.Sha...@siemens.com>
Subject RE: Odgovori: Character problem
Date Wed, 19 Nov 2003 16:18:30 GMT
 
just add CATALINA_OPTS="-Dfile.encoding=ISO-8859-2" it works fine ....
-----Original Message-----
From: kovi.adsl@siol.net
To: Tomcat Users List
Sent: 19/11/2003 8:40 PM
Subject: Odgovori: Character problem

Hi!

In your JSP put:
<%@ page contentType="text/html; charset=iso-8859-2" language="java"
import="java.sql.*" errorPage="" %>
and
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">

then in your servlet/jsp use
request.setEncoding("iso-8859-2");
before you access any parameters inside request.

Hope this helps. :)

Best regards,
    Kovi


> 
> Od: "Burak Takmaz" <brutus_gs@hotmail.com>
> Datum: 2003/11/18 Tor AM 10:54:01 GMT+01:00
> Za: tomcat-user@jakarta.apache.org
> Zadeva: Character problem
> 
>     On my jsp pages,i am calling a method from my class.Its return
type is 
> String.But in the browser the Turkish caracteres like "t,d,รง" seem to
be 
> corrupted.I put page directive on the of my jsp pages.Is that Tomcat
who is 
> changing my encoding?Where can i set the default encoding of
Tomcat?Thanks 
> for your helps.
> 
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message