dcsimg
Download file with chinese filename (unicode)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, March 25, 2003 01:01 AM

I would like to write a servlet for user to download a file from database. If the file name is in chinese (unicode), then user cannot get the filename correctly. How to solve this problem? Thanks.

Download file with 'correct_national_character' filename (iso-8859-2)

Posted By:   troppau_troppau  
Posted On:   Thursday, April 24, 2003 04:11 PM

I have the same problem with iso-8859-2/windows-1250.
Statements like

response.setContentType (document.mimeType + ";charset=iso-8859-2");
response.setHeader ("Content-Disposition", "attachment;filename="íáíýíá"");
response.addHeader (...

doesn't work the correct way in mozilla or iexplorer

does anyone know how to solve this, please ?
thanks
About | Sitemap | Contact