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 Building Microservices this week in the Design 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: 2409
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’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: how to get utf-8 data from query string in JSP
 
It's not a secret anymore!