?
Solved

why query string value japanese char  value not getting in java class

Posted on 2010-08-26
2
Medium Priority
?
447 Views
Last Modified: 2012-05-10
Hi

why query string japanese char  value not getting in java class . it give junk value

http://localhost:8082/Bio-Origin/shohinSearch.do?action=searchButton&shohinCode=(¿¿)&window=0
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 1000 total points
ID: 33536741
0
 
LVL 40

Assisted Solution

by:Gurvinder Pal Singh
Gurvinder Pal Singh earned 1000 total points
ID: 33539058
if you are creating the query String using javascript, then make sure that you escape the values first.

eg

var value = "some japanese chars";

queryString = "key=" + escape(value);

examples
http://tagunov.tripod.com/i18n/i18n.html#parameters-general
http://www.trupti.com/index.php/it/java/jsp/Encoding-special-characters-in-userinput-or-on-server.php
http://www.jguru.com/faq/view.jsp?EID=1030399.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question