Doubt regarding encoding strings passed through HTTP header

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 UTC