Re: retrive Arabic data

2009-06-03 Thread abdul razack
ack > > > > --- On Sat, 5/30/09, George Sexton wrote: > > > From: George Sexton > Subject: Re: retrive Arabic data > To: "Tomcat Users List" > Date: Saturday, May 30, 2009, 8:38 PM > > > Christopher Schultz wrote: >> -BEGIN PGP S

Re: retrive Arabic data

2009-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 6/1/2009 2:11 PM, George Sexton wrote: > > > Christopher Schultz wrote: >> >>> If you use something >>> like one of the ISO encodings then you're tied to English >>> >> >> Don't tell that to anyone who speaks Bosnian, Croatian, Czech

RE: retrive Arabic data

2009-06-01 Thread Martin Gainty
pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 1 Jun 2009 12:11:17 -0600 > From: geor...@mhsoftware.com > To: users@tomcat.a

Re: retrive Arabic data

2009-06-01 Thread George Sexton
Christopher Schultz wrote: If you use something like one of the ISO encodings then you're tied to English Don't tell that to anyone who speaks Bosnian, Croatian, Czech, Hungarian, Polish, Romanian, Serbian, Slovak, Slovenian, Upper Sorbian, Lower Sorbian, Finnish, Danish, German, Frenc

Re: retrive Arabic data

2009-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 5/30/2009 10:55 AM, George Sexton wrote: > Christopher Schultz wrote: >> On 5/28/2009 3:59 PM, George Sexton wrote: >> >>> The issue is the default character set for Java. I've noticed that at >>> least at one point in time, the default c

Re: retrive Arabic data

2009-06-01 Thread André Warnier
setting on Windows server. And I corrected the same. Again thank you for the help in achieving the significant result. Thanks & Regards -Abdul Razack --- On Sat, 5/30/09, George Sexton wrote: From: George Sexton Subject: Re: retrive Arabic data To: "Tomcat Users List" Date:

Re: retrive Arabic data

2009-05-31 Thread abdul razack
rive Arabic data To: "Tomcat Users List" Date: Saturday, May 30, 2009, 8:38 PM Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > George, > > On 5/28/2009 3:59 PM, George Sexton wrote: >    >> The issue is the default character se

Re: retrive Arabic data

2009-05-30 Thread George Sexton
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 5/28/2009 3:59 PM, George Sexton wrote: The issue is the default character set for Java. I've noticed that at least at one point in time, the default character set for Java running under windows was Windows-

Re: retrive Arabic data

2009-05-30 Thread George Sexton
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 5/28/2009 3:59 PM, George Sexton wrote: The issue is the default character set for Java. I've noticed that at least at one point in time, the default character set for Java running under windows was Window

Re: retrive Arabic data

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André-John, On 5/28/2009 6:59 PM, Andre-John Mas wrote: > The ability to display non-latin charactrers depends as much on the > client operating system, as on the what the server is providing. For > example if you have nothing on your computer that

Re: retrive Arabic data

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André-John, On 5/28/2009 7:23 PM, Andre-John Mas wrote: > You can specify any encoding you wish, but this is the most > universal encoding. If you don't specify the character encoding in > the content-type most browsers will default to ISO-8859-1 as t

Re: retrive Arabic data

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 5/28/2009 3:59 PM, George Sexton wrote: > The issue is the default character set for Java. I've noticed that at > least at one point in time, the default character set for Java running > under windows was Windows-1252. Running under Linux i

Re: retrive Arabic data

2009-05-28 Thread Andre-John Mas
On 28-May-2009, at 15:59, George Sexton wrote: The issue is the default character set for Java. I've noticed that at least at one point in time, the default character set for Java running under windows was Windows-1252. Running under Linux it defaults to ISO-8859-1. A few other things to

Re: retrive Arabic data

2009-05-28 Thread Stevo Slavić
True. If I understood well, problem is not in submitting requests, but in rendering response, data fetched from database aren't displayed well on one machine, but do get displayed well on the other. Abdul didn't mention details about client side where was he opening problematic page. Let's assume h

Re: retrive Arabic data

2009-05-28 Thread Andre-John Mas
On 28-May-2009, at 10:00, Stevo Slavić wrote: Or Tomcat installations are configured differently on each of the environments, e.g. Connector URIEncoding attribute. URIEncoding only effects how the query URL is interpretted, AFAIK. It effects nothing else. André-John --

Re: retrive Arabic data

2009-05-28 Thread Andre-John Mas
On 28-May-2009, at 09:23, abdul razack wrote: Hi Mark, As you suggested, I have tested sample JSP in the FAQ as you pointed. I could see Arabic in the output. This is OK. I am not able to view Arabic data when tomcat application running on winodws 2003 server OR windows 2000 professional.

RE: retrive Arabic data

2009-05-28 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: retrive Arabic data > > By the way, does anyone know for sure /where/ the Sun Windows JVM picks > up the default "locale" settings ? Via a couple of proprietary Windows APIs: GetUserDefaultLCID http://msdn.mi

Re: retrive Arabic data

2009-05-28 Thread André Warnier
For Len : I agree with what George writes below. I also agree with the point that a webapp /can/ handle any charset properly, if it is properly programmed to do so. The point here is that probably, some webapp is /not/ properly programmed for that, and just uses the default charset of the JVM A

Re: retrive Arabic data

2009-05-28 Thread George Sexton
The issue is the default character set for Java. I've noticed that at least at one point in time, the default character set for Java running under windows was Windows-1252. Running under Linux it defaults to ISO-8859-1. I'm sure the same issue is happening here. It's defaulting to Windows-125

Re: retrive Arabic data

2009-05-28 Thread Len Popp
On Thu, May 28, 2009 at 15:35, André Warnier wrote: > Hi. > My knowledge of java and Tomcat is limited, so I may be off-base here. > But I have also has occasional issues with Tomcat and non-US character sets > on various Windows platforms. > Just for information, what is the basic Windows languag

Re: retrive Arabic data

2009-05-28 Thread André Warnier
Youssef Mohammed wrote: I am not able to view Arabic data when tomcat application running on winodws 2003 server OR windows 2000 professional. But I am surprised to see Arabic data when I run application on windows XP professional. Hi. My knowledge of java and Tomcat is limited, so I

Re: retrive Arabic data

2009-05-28 Thread Stevo Slavić
In all above scenarios data base SQL server 2005 resides on Windows 2003 > server. > > > > > > Any other setting that I need to do in Tomcat. > > > > Thanks & Regards > > -Abdul Razack > > > > > > > > > > > > --- On Wed, 5/27/

Re: retrive Arabic data

2009-05-28 Thread Youssef Mohammed
... ) > > In all above scenarios data base SQL server 2005 resides on Windows 2003 > server. > > > Any other setting that I need to do in Tomcat. > > Thanks & Regards > -Abdul Razack > > > > > > --- On Wed, 5/27/09, Mark Thomas wrote: > > &

Re: retrive Arabic data

2009-05-28 Thread abdul razack
: Re: retrive Arabic data To: "Tomcat Users List" Date: Wednesday, May 27, 2009, 5:48 PM abdul razack wrote: >  >  > 1. In server.xml >                    maxThreads="150" minSpareThreads="25" >useBodyEncodingForURI="true"  URIEncoding="UTF

Re: retrive Arabic data

2009-05-28 Thread abdul razack
omas wrote: From: Mark Thomas Subject: Re: retrive Arabic data To: "Tomcat Users List" Date: Wednesday, May 27, 2009, 5:48 PM abdul razack wrote: >  >  > 1. In server.xml >                    maxThreads="150" minSpareThreads="25" >

Re: retrive Arabic data

2009-05-27 Thread Mark Thomas
. 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 somewher

Re: retrive Arabic data

2009-05-27 Thread abdul razack
d wrote: From: Youssef Mohammed Subject: Re: retrive Arabic data To: "Tomcat Users List" 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

Re: retrive Arabic data

2009-05-27 Thread abdul razack
ghi Subject: Re: retrive Arabic data To: "Tomcat Users List" Date: Wednesday, May 27, 2009, 4:51 PM Hi, Try to check the encoding of your jsp pages! It must be UTF-8 as well! BB S. abdul razack ha scritto: > Hi, >   I have Java web application (JSP, Servlet, SQL server 2005) runni

Re: retrive Arabic data

2009-05-27 Thread Mark Thomas
abdul razack 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 applicatio

Re: retrive Arabic data

2009-05-27 Thread Sergio Arrighi
In server.xml you have to set the http connector attribute: connectionTimeout="2" disableUploadTimeout="true" URIEncoding="UTF-8" /> Try this out! S. Youssef Mohammed ha scritto: u just need to set your content encoding to UTF-8 in your jspes <%@ page pageEncoding="UTF-8" %> I think al

Re: retrive Arabic data

2009-05-27 Thread Youssef Mohammed
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 wrote: > Hi, > >  I have Java web application (JSP, Servlet, SQ

Re: retrive Arabic data

2009-05-27 Thread Sergio Arrighi
Hi, Try to check the encoding of your jsp pages! It must be UTF-8 as well! BB S. abdul razack ha scritto: 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 b

retrive Arabic data

2009-05-27 Thread abdul razack
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 . B