my dog learned polymorphism
The moose likes JSP and the fly likes Arabic encoding Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Arabic encoding " Watch "Arabic encoding " New topic
Author

Arabic encoding

Kc Sreejith
Greenhorn

Joined: Jun 08, 2009
Posts: 10

dear all
iam developing an arabic application with tomacat as my server and sql server as database but when iam try to insert arabic data to the database iam getting it as ??? i am using UTF-8 encoding by using the tag in jsp page <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
i try to print the data in my java bean where also iam getting the result as ???
please help me
ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 391
Hi,

UTF-8 should work but, you can try for Windows-1256. Aarbic problems with passing parameters between JSP in arabic language could be solved by specifying the character encoding of the request




Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
Kc Sreejith
Greenhorn

Joined: Jun 08, 2009
Posts: 10

i changed my code but this is also not working iam getting some special characters as result like this
الخصائص
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Arabic encoding
 
Similar Threads
NetBeans UTF8 Encoding Problem?
how to export PDF report within the Arabic and English data through jsp code.
Java Internationalization Issue for Arabic
Storing Arabic language
arabic data from the database