• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Encoding Problem When export to excel

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic