Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • 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
 
When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!