I need to pass arabic string in sql query. i have already did but this is the output query :
sellect FULL_NAME,MOBILE,FAX,BUSINESS_TEL,DEPARTMENT,LDAP_ID from STAFF_DIRECTORY_VW Where lower(FIRST_NAME) LIKE lower ('%شماء%')
I tried to do this:
last_Name = request.getParameter("EMP_LASTNAME");
byte  by1252 = last_Name.getBytes("Cp1252");
last_Name = new String(by1252, "Cp1256");
how should i set the proper unicode? i compiled java class in my machine then copied to the server ? should i compile it in the server?
ur help plz, the deadline is tomorrow :(