• Post Reply Bookmark Topic Watch Topic
  • New Topic

Arabic Encoding in Java Studio Creator  RSS feed

 
Computer eng.
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

GooD MorninG ,,

I'm using Java Studio Creator with MySql DataBase to build my new small system..

When I pass arabic characters from the browser to MySql , they appear as question marks ??? in MySql.

I check the encoding in the JSP code , it looks like this

<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>

that's mean it's UTF-8 ,,

I tried encoding like window-1256, but it gave me strange symbols not question marks.

Does anyone can help me please

Thanks in advance



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!