wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Encoding Problem When export to excel
 
Similar Threads
Export to Excel Dialog Box Always Pops Up
Import from and export to Excel
Export data to Excel in Websphere Portals
Export jsf page into excel and pdf
How to export data in excel