abdul razack wrote: > > > 1. In server.xml > <Connector port="89" maxHttpHeaderSize="8192" > maxThreads="150" minSpareThreads="25" > useBodyEncodingForURI="true" URIEncoding="UTF-8" > maxSpareThreads="75" enableLookups="false" > redirectPort="8443" acceptCount="100" > connectionTimeout="20000" disableUploadTimeout="true" /> > > 2. In all JSP pages > > <%@ page contentType="text/html;charset=UTF-8" %> > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> > > 3. But I am surprise to see in servlet that request.getCharacterEncoding ( ) > as null. > > Still I have same problem.
Try the sample JSP in the FAQ I pointed you towards. If that works, you have an application issue. If that doesn't work, you have broken your Tomcat config somewhere. Mark > > -Abdul Razack > > > > > --- On Wed, 5/27/09, Youssef Mohammed <youssef.moham...@gmail.com> wrote: > > > From: Youssef Mohammed <youssef.moham...@gmail.com> > Subject: Re: retrive Arabic data > To: "Tomcat Users List" <users@tomcat.apache.org> > Date: Wednesday, May 27, 2009, 4:53 PM > > > u just need to set your content encoding to UTF-8 in your jspes > <%@ page pageEncoding="UTF-8" %> > I think also there might be a way to set the default encoding to utf8 ! > Regards, Youssef > > > > On Wed, May 27, 2009 at 2:16 PM, abdul razack <sh_abd...@yahoo.com> wrote: >> Hi, >> >> I have Java web application (JSP, Servlet, SQL server 2005) running on >> apache-tomcat-5.5.23. >> >> I am facing one problem when retriving Arabic data from database. The data >> contains both english and Arabic in table. >> when retirve data from java application all arabic is appearing as ????. >> But english is coming is perfectly. >> >> The combination of Arabic and english data will be inserted in the database >> through other application (ASP.Net technology).The encoding uses (UTF-8). In >> database table arabic columns will have arabic and english columns will have >> english. >> >> Please give me direction what would have gone wrong. >> Would there be any problem in Tomcat. >> >> Thanks & Regards >> -Abdul Razack >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org