File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes how to get utf-8 data from query string in JSP 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 » Java » JSP
Bookmark "how to get utf-8 data from query string in JSP" Watch "how to get utf-8 data from query string in JSP" New topic
Author

how to get utf-8 data from query string in JSP

shahab khan
Greenhorn

Joined: Feb 25, 2012
Posts: 1
Hi,

I want to get utf-8 data from query string in jsp page therefore I have written following simple JSP page

But I am getting garbaage instead of utf-8 data.


I want to know how to get utf-8 data from query string in JSP
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
But I am getting garbaage instead of utf-8 data.

How do you know that? Where does out.println print to - something that's capable of displaying UTF-8? Most console aren't.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get utf-8 data from query string in JSP
 
Similar Threads
How to update a image using servlet?
Error comes whilke compiling the jsp page
Multipart request problem
How to getParameter value
Doubts in jsp