Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

arabic data from the database

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
What's gotten into you? Could it be this tiny ad?
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic