This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Passing UTF-8 data to servlet through AJAX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

Passing UTF-8 data to servlet through AJAX

Mohamed Shehab
Greenhorn

Joined: Feb 15, 2009
Posts: 4
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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Dupe of this. Please don't post the same question in multiple forums. Closing this one...


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing UTF-8 data to servlet through AJAX
 
Similar Threads
Displaying a Greeting message using Ajax
Passing UTF-8 data to servlet through AJAX
Problem with UTF-8 Character encoding
Problem with POST in ajax
ajax-jsp special characters like %,&