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
Solved

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

Posted on 2010-08-26
2
440 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
2 Comments
 
LVL 92

Accepted Solution

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

Assisted Solution

by:gurvinder372
gurvinder372 earned 250 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bot application - advice 3 37
VBScript on Html 15 47
Need Help! Getting a syntax error and don't understand why 3 31
Get checkbox id of the previous one selected 2 12
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

809 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