This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 2407
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to get utf-8 data from query string in JSP
 
Similar Threads
Doubts in jsp
Error comes whilke compiling the jsp page
How to update a image using servlet?
Multipart request problem
How to getParameter value