• Post Reply Bookmark Topic Watch Topic
  • New Topic

arabic encoding problem  RSS feed

hesham katon
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody
I have a problem with arabic encoding .
- if i didn't set any encoding for the jsp page
the encoding is set automatically for : Wesstern European(ISO)
and the arabic letters are not readable untill I set the encoding with my self for each page from : view>>Encoding menu
example : http://www.saidalany.com/1.jsp

- if i set the encoding inside the page with :
<%@ page contentType= "text/html;charset=windows-1256" %>
the encoding is set right to arabic .
but all data retrieved from MySql database are shown as question marks like this : "???"
example : http://www.saidalany.com/index.jsp

can any one help me to solve this problem

Thank you very much in advance
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!