This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets 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


JavaRanch » Java Forums » Java » Servlets
Bookmark "Passing UTF-8 data to servlet through AJAX" Watch "Passing UTF-8 data to servlet through AJAX" 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 ?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Passing UTF-8 data to servlet through AJAX
 
It's not a secret anymore!