This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Turkish characters  RSS feed

 
Monika Sach
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am generating a report by picking user profiles from the OID. The OID contains special turkish characters. When I write them on the browser the characters seem fine.
But I need to export them to excel in the application. When I do so these characters get screwed up.
I have seen a related post where it was suggested to use HTML instead of ms-excel.
I need to write them to an excel. Is it possible? If yes, how?

I have tried all stuff like:
request.setCharacterEncoding("UTF-8");
response.setContentType("application/vnd.ms-excel";"charset=UTF-8");
response.setHeader(Defs.CONTENT_DISPOSITION, Defs.ATTACHMENT + "=\"Report.xls\"");
// Get an instance of the Writer.
out = response.getWriter();

Thanks
M
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!