This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Encoding Problem When export to excel
 
Similar Threads
Export to Excel Dialog Box Always Pops Up
Export data to Excel in Websphere Portals
Export jsf page into excel and pdf
Import from and export to Excel
How to export data in excel