just add CATALINA_OPTS="-Dfile.encoding=ISO-8859-2" it works fine .... -----Original Message----- From: [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> > Datum: 2003/11/18 Tor AM 10:54:01 GMT+01:00 > Za: [EMAIL PROTECTED] > 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: [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]