Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

Passing UTF-8 data to servlet through AJAX

 
Mohamed Shehab
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have an AJAX JavaScript function, I want to pass UTF-8 data to insert to Oracle database, the function is working perfectly for ASCII data, but while passing UTF-8 data, it is not working. This is my code snippet:



Can anyone advise me please ?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Dupe of this. Please don't post the same question in multiple forums. Closing this one...
 
    Bookmark Topic Watch Topic
  • New Topic