Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
Arabic Encoding in Java Studio Creator
posted 5 years ago
GooD MorninG ,,
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
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
It is sorta covered in the
JavaRanch Style Guide
JSF problem with UTF8encoding
How to recive / return cookies to server?
Possible to pass a run time param?
arabic encoding problem