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();