aspose 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
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to get utf-8 data from query string in JSP