Hi all,
I have this peculiar result when I export
jsp result to a excel sheet.
I display a set of japanese characters (say in a report) with JSP page. When i click on export to excel button, I find the exported results in excel are having some junc characters.
I display the report in jsp and export to excel using the html tags.
I have the following code in a export to excel jsp page:
<%@ page language="java" contentType="application/vnd.ms-excel; charset=UTF-8" pageEncoding="UTF-8"%>
response.setHeader("Pragma", "public");
response.setHeader("Cache-Control", "max-age=0");
response.setHeader("Content-disposition","attachment; filename=" +fileName );
If anybody came across with such kinda block and resloved it please let me know.
thanks in advance.