tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajat Gupta05 <Rajat_Gupt...@infosys.com>
Subject RE: Issue in sending Request/response http headers containing Japanese charateres
Date Wed, 18 Mar 2009 13:32:01 GMT
Hey Mark,

Thanks for your response... I have tried to isolate the issue if it is being caused by Apache/Mod_jk/Tomcat.
Firstly I tried a request to standlone apache with customize d header having Japanese characters.
The requested page displays the headers in the request. To my surprise Apache is not dealing
with Japanese characters correctly and replacing them with some junk value. For example I
addedミが完たソ税一使饅漢社氏ソ圧user1 in the request header and wht I received
was ~‚ªŠ®‚½ƒ\ÅˆêŽgé\Š¿ŽÐŽ¿ˆ³user1.

Also to add the same thing works when make request to apache configured to reverse proxy.
Can any one provide explanation to that?

Thanks
Rajat

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Wednesday, March 18, 2009 6:27 PM
To: Tomcat Users List
Subject: Re: Issue in sending Request/response http headers containing Japanese charateres

Rajat Gupta05 wrote:
> Hi All,
> 
> I have a configuration where Apache(2.2) -->Mod_jk-->Tomcat(5.0) for my program.
> Now whenever I receive request or response having httpheaders with Japanese charaters,
those are either replaced by ??? or they are replaced by some junk charateres.
> Please see the Japanese headers are encoded with SHIFT_JIS encoding. Is there are a way
where we can provide this encoding inside Apcahe/mod_jk/Tomcat.
> 
> Any help would be really appreciated.

http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q4

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@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***
Mime
View raw message