Hi, It's likely that request.getCharacterEncoding() is not null at that point(most likely iso-8859-1). A better conditional statement: if (request.getCharacterEncoding()==null) || ! request.getCharacterEncoding().equals("windows-1256")) {}
Cheers:). -Yan -----Original Message----- From: vijaya prasad pala [mailto:[EMAIL PROTECTED] Sent: Sunday, March 07, 2004 2:36 AM To: [EMAIL PROTECTED] Subject: Arabic encoding problem Hi i am reading arabic text from oracle database. if i am displaying that text in that page it ok. if i am passing the same arabic string to another page then in that page it is displaying in ?????. i tried like this if(request.getCharacterEncoding()==null) request.setCharacterEncoding("windows-1256"); linkString = request.getParameter("linkLine"); userString = request.getParameter("userLine"); Here my problem is passing string from one page to another page... Thanks in Advance vijay __________________________________ Do you Yahoo!? Yahoo! Search - Find what you're looking for faster http://search.yahoo.com --------------------------------------------------------------------- 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]