incorrect header encoding when exporting using HssfExportView
-------------------------------------------------------------
Key: DISPL-436
URL: http://jira.codehaus.org/browse/DISPL-436
Project: DisplayTag
Issue Type: Bug
Components: Export
Affects Versions: 1.1
Reporter: chien an chen
Priority: Minor
in ExcelHssfView class,the line No. 126
originally is:
HSSFCell cell = xlsRow.createCell((short) colNum++);
cell.setCellValue(columnHeader);
cell.setCellStyle(headerStyle);
cell.setEncoding(HSSFCell.ENCODING_UTF_16);
move cell.setEncoding(HSSFCell.ENCODING_UTF_16); to before
cell.setCellValue(columnHeader); ,make sure your value has been right encoding.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel