Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

arabic encoding problem  RSS feed

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 :

- 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 :

can any one help me to solve this problem

Thank you very much in advance
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!