aspose file tools*
The moose likes JSP and the fly likes Encoding Problem When export to excel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Encoding Problem When export to excel" Watch "Encoding Problem When export to excel" New topic
Author

Encoding Problem When export to excel

Edgard Taok
Greenhorn

Joined: Apr 18, 2006
Posts: 2
Hello

On websphere 5 (websphere 5) I have a wierd bug is the encoding of special characters when export to excel
I already have in my JSP file
response.setHeader("Content-Disposition","inline; filename=\"table.xls\"");
response.setContentType("application/vnd.ms-excel; charset=UNICODE");

Anyone has an idea
Edgard


DBMS
Krithika Srinath
Ranch Hand

Joined: Apr 11, 2006
Posts: 52
Did you check your browser settings..? What is the character encoding set in your browser? May be the browser setting is not set to UTF.

Hope this helps.

Regards,
~Krithika
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Encoding Problem When export to excel