• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encoding Problem When export to excel

 
Edgard Taok
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Krithika Srinath
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic