W3C home > Mailing lists > Public > www-international@w3.org > April to June 2002

Doubt regarding encoding strings passed through HTTP header

From: souravm <souravm@infy.com>
Date: Thu, 11 Apr 2002 08:20:21 +0530
Message-ID: <755FA95DB839D211856B0008C7287D930F7CD645@kecmsg02.ad.infosys.com>
To: <www-international@w3.org>
Hi All,
 
I have a file created in UTF-8 locale in a Solaris machine. The file contains data saved in UTF-8 encoding. 
I need to download this file in a Windows 2000 PC. For this purpose I'm using  http download through JSP. In JSP  I'm setting the content type  as charset=Shift_JIS. This is to convert the contains from UTF- 8 to Shift_JIS. The name of the file I'm sending through the response header. When the file is downloaded this name is coming as junk.
 
Can anybody please let me know what has to be done to send the file name properly ?
 
As far as I know if any multibytes data has to be sent through HTTP header it has to be encoded using RFC2047 encoding. But I'm not sure how to implement it. 
 
Thanks in advance,
Sourav
Received on Wednesday, 10 April 2002 22:52:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:58 GMT