Meaningless Drivel is fun!*
The moose likes JSP and the fly likes Arabic encoding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
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: 403
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
الخصائص
 
jQuery in Action, 2nd edition
 
subject: Arabic encoding
 
Similar Threads
arabic data from the database
NetBeans UTF8 Encoding Problem?
how to export PDF report within the Arabic and English data through jsp code.
Storing Arabic language
Java Internationalization Issue for Arabic