wood burning stoves 2.0
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Arabic encoding " Watch "Arabic encoding " New topic

Arabic encoding

Kc Sreejith

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

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

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

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
It's not a secret anymore!