File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes arabic data from the database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "arabic data from the database " Watch "arabic data from the database " New topic
Author

arabic data from the database

gaser hasan
Greenhorn

Joined: Aug 03, 2010
Posts: 9
please i have a problem in selecting arabic data from the database
i inserting the data as utf-8 unicode and selecting it also right on my local server but the problem is on the hosting server where i found the language encrypted that are selected from database

here you are the encoding that iam using ;
--for browser:
<%@page pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

--for database:
jdbc:mysql://localhost:3307/alsa7a1c?useUnicode=true&characterEncoding=UTF-8
--if i deleted the java directive from the page i can see the language ok but after changing the encoding to utf-8

now i want to know how to make it eading arabic and select utf-8 encoding directly from the browser without setting it manually
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: arabic data from the database
 
Similar Threads
Displaying Japanese characters in JSP
Java Internationalization Issue for Arabic
Problem with UTF-8 Character encoding
how can i choose the right encoding to read arabic
Arabic encoding