Thanks everyone for there comments.
I was actually comparing the behavior between IIS and Apache, since IIS(5/6) is able to handle Japanese characters inside the headervalues not the header name. Thanks Rajat -----Original Message----- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, March 19, 2009 6:56 AM To: Tomcat Users List Subject: RE: Issue in sending Request/response http headers containing Japanesecharateres > From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Issue in sending Request/response http headers > containing Japanesecharateres > > > java.net.URLEncoder.encode(text, "ASCII") > > You'll get a string like > > "foobar%45%67%65%43%45%45%78%69...". > > Yes, but in my humble opinion you would be, as they say, > "cruising for a bruise". That's "cruisin' for a bruisin'", to be precise. I think Chris meant: java.net.URLEncoder.encode(text, "UTF-8") which is what W3C recommends. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***