Win a copy of Murach's MySQL this week in the JDBC and Relational Databases 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Arabic encoding

 
Greenhorn
Posts: 10
Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dear all
iam developing an arabic application with tomacat as my server and sql server as database but when iam try to insert arabic data to the database iam getting it as ??? i am using UTF-8 encoding by using the tag in jsp page <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
i try to print the data in my java bean where also iam getting the result as ???
please help me
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

UTF-8 should work but, you can try for Windows-1256. Aarbic problems with passing parameters between JSP in arabic language could be solved by specifying the character encoding of the request



 
Kc Sreejith
Greenhorn
Posts: 10
Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i changed my code but this is also not working iam getting some special characters as result like this
الخصائص
 
reply
    Bookmark Topic Watch Topic
  • New Topic